Skip to content

[FEATURE]: Span continuation #258

@sketch34

Description

@sketch34

Describe the goal of the feature

Sometimes it would be nice to end a span and immediately begin another span with the same parent, in order to trace the different stages of a pipeline operation for example.

Image

Is your feature request related to a problem?

No response

Describe alternatives you've considered

I believe this achieves the same thing except for the "same parent" part.

auto span_b = span_a.create_child();
span_a.set_end_time(steady_clock::now());
...

Perhaps there is another way?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions