Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow library instrumentations to override span name #11355

Merged
merged 2 commits into from
May 17, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented May 15, 2024

This PR adds an option to override span name by letting user transform SpanNameExtractor to most of the library instrumentations. This functionality was already present in grpc and spring webmvc instrumentations.

cc @LikeTheSalad

@laurit laurit requested a review from a team as a code owner May 15, 2024 10:44
@LikeTheSalad
Copy link
Contributor

Thank you! 🙏

Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

…ain/java/io/opentelemetry/instrumentation/spring/web/v3_1/SpringWebTelemetryBuilder.java
@laurit laurit merged commit 7a06507 into open-telemetry:main May 17, 2024
53 checks passed
@laurit laurit deleted the library-span-name branch May 17, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants