Skip to content

Add a onSpanNameUpdated method in SpanProcessor #4637

@pepeshore

Description

@pepeshore

What are you trying to achieve?
Add a onSpanNameUpdated method in SpanProcessor,when Span.updateName is called, onSpanNameUpdated will be called too.
What did you expect to see?

Additional context.
I currently have scenarios where I need to apply special handling to spans with specific names, such as modifying their sampling rates or filtering out certain spans to prevent them from being reported.

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec:traceRelated to the specification/trace directorytriage:deciding:community-feedbackOpen to community discussion. If the community can provide sufficient reasoning, it may be accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions