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

feat(opentelemetry): Support new http method attribute #11756

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

AbhiPrasad
Copy link
Member

Fixes #11755

OpenTelemetry restructured their http semantic conventions and declared them stable: https://opentelemetry.io/blog/2023/http-conventions-declared-stable/

This has unfortunately not been reflected in OpenTelemetry JS yet, blocked on them making everything backwards compat: open-telemetry/opentelemetry-js#4572

For now we can directly reference http.request.method, the replacement to http.method. When the OTEL SDK is finally updated to use proper conventions, we can avoid hard coding the string.

@AbhiPrasad AbhiPrasad requested review from mydea, a team and lforst and removed request for a team April 23, 2024 16:32
@AbhiPrasad AbhiPrasad self-assigned this Apr 23, 2024
@AbhiPrasad AbhiPrasad marked this pull request as ready for review April 23, 2024 16:32
@AbhiPrasad AbhiPrasad merged commit 57d6045 into develop Apr 24, 2024
63 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-parse-span-description branch April 24, 2024 13:25
This pull request was closed.
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.

Opentelemetry http server responses not rendered with correct span description
3 participants