Skip to content

Add a Hook Point When HttpServerRoute updated #14533

@pepeshore

Description

@pepeshore

Is your feature request related to a problem? Please describe.

name of HttpServerSpan will change several times,I want to change the sample flag for specified HttpServerSpan,So I need to be notified when HttpServerSpan name updated

Describe the solution you'd like

1: add a HttpServerRouteUpdateListener in opentelemetry-java-instrumentation
2: add a onSpanNameUpdated method in io.opentelemetry.sdk.trace.SpanProcessor in opentelemetry-sdk-trace

Describe alternatives you've considered

No response

Additional context

No response

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

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions