Skip to content

[FEATURE]: Span cancellation #257

@sketch34

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

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