Skip to content

[FEATURE]: Span cancellation #257

Description

@sketch34

Describe the goal of the feature

Ability to "cancel" a dd:Span that has been created such that it does not appear in the APM traces.

Sometimes a dd::Span I have created no longer makes semantic sense due to errors or other edge conditions that are not present at the time the Span is created.

For example I have a "time to receive first data" span within a proxy which clutters the traces when there are subsequent errors preventing data being received.

Is your feature request related to a problem?

No response

Describe alternatives you've considered

It would be possible to implement this by wrapping dd::Span in my own span class and using dd::SpanConfig::start in conjunction with dd::Span::set_end_time().

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions