Skip to content

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

Merged
AbhiPrasad merged 1 commit intodevelopfrom
abhi-parse-span-description
Apr 24, 2024
Merged

feat(opentelemetry): Support new http method attribute#11756
AbhiPrasad merged 1 commit intodevelopfrom
abhi-parse-span-description

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Contributor

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 a team, lforst and mydea 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
@AbhiPrasad AbhiPrasad deleted the abhi-parse-span-description branch April 24, 2024 13:25
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