Skip to content

fix: update span name when semconv stability is enabled #1570

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Jun 20, 2025

Semantic conventions 1.34.0 updates span names to drop the leading HTTP, for example HTTP GET becomes just GET. To facilitate the transition from old to new HTTP semantic conventions, a new stability mode was introduced in #1547. However, the PR did not account for the span name update.

If OTEL_SEMCONV_STABILITY_OPT_IN is set to either http or http/dup, the span name should be inline with the new conventions. This PR makes this update and drops the leading HTTP from span names.

Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

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

Thank you!

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.

2 participants