Skip to content

feat: Begin HTTPClient semantic convention stability migration#1588

Merged
kaylareopelle merged 6 commits intoopen-telemetry:mainfrom
hannahramadan:http_client_semconv_stability
Jul 22, 2025
Merged

feat: Begin HTTPClient semantic convention stability migration#1588
kaylareopelle merged 6 commits intoopen-telemetry:mainfrom
hannahramadan:http_client_semconv_stability

Conversation

@hannahramadan
Copy link
Copy Markdown
Member

This PR is intended to assist in the transition from the old to new HTTP semantic conventions. Per the HTTP semantic convention stability migration spec, users should be able to set the environment variable OTEL_SEMCONV_STABILITY_OPT_IN to:

  • http to emit stable conventions only
  • http/dup to emit both old and the stable conventions
  • a blank env var will emit old conventions only
  • Span names have also changed. Spans will now be named based on only their method. For example, what used to be HTTP GET is now just GET - spec

The agent is required to maintain this bridge for 6 months and may drop the environment variable in the next major version and emit only the stable HTTP and networking conventions.

This approach was approved in #1547

Copy link
Copy Markdown
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.

🦖

@kaylareopelle
Copy link
Copy Markdown
Contributor

Same Net::HTTP error persists as in #1599

@kaylareopelle kaylareopelle reopened this Jul 21, 2025
@kaylareopelle kaylareopelle enabled auto-merge (squash) July 21, 2025 19:22
@kaylareopelle kaylareopelle changed the title feat: HTTPClient semantic convention stability migration feat: Begin HTTPClient semantic convention stability migration Jul 21, 2025
@kaylareopelle kaylareopelle merged commit c3edc8d into open-telemetry:main Jul 22, 2025
62 checks passed
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.

3 participants