Skip to content

[pkg/translator/jaeger] Update semconv version#49468

Open
anarwal wants to merge 7 commits into
open-telemetry:mainfrom
anarwal:pkg/translator/jaeger
Open

[pkg/translator/jaeger] Update semconv version#49468
anarwal wants to merge 7 commits into
open-telemetry:mainfrom
anarwal:pkg/translator/jaeger

Conversation

@anarwal

@anarwal anarwal commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Description

pkg/translator/jaeger/jaegerproto_to_traces.go — Removed conventionsv125 import (v1.25.0), replaced conventionsv125.HTTPStatusCodeKey with string literal "http.status_code". No feature gate needed.

Link to tracking issue

Fixes pkg/translator/jaeger from #22095

Testing

Ran go mod tidy && go build ./... && go test ./... from pkg/translator/jaeger

Authorship

  • I, a human, wrote this pull request description myself.

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 18, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-23 03:07:50 UTC.

  • Waiting on: Reviewers
  • Next step: Review the latest changes.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

if httpCodeAttr, ok := attrs.Get(string(conventions.HTTPResponseStatusCodeKey)); ok {
return httpCodeAttr, true
}
return attrs.Get("http.status_code")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure what to do in these cases. Maybe import the last version of the semantic conventions which supported this attribute?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@iblancasa I have updated and should be ready for review

@anarwal anarwal changed the title [chore][pkg/translator/jaeger] Update semconv version [pkg/translator/jaeger] Update semconv version Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants