Skip to content

Support gen_ai_latest_experimental opt-in for gen_ai.system to gen_ai.provider.name rename#941

Open
trask wants to merge 1 commit into
openai:mainfrom
trask:latest-experimental-opt-in
Open

Support gen_ai_latest_experimental opt-in for gen_ai.system to gen_ai.provider.name rename#941
trask wants to merge 1 commit into
openai:mainfrom
trask:latest-experimental-opt-in

Conversation

@trask

@trask trask commented Feb 10, 2026

Copy link
Copy Markdown

Following the recommendation from OpenTelemetry GenAI Semantic Conventions:

Existing GenAI instrumentations that are using v1.36.0 of this document (or prior):

  • SHOULD NOT change the version of the GenAI conventions that they emit by default. Conventions include, but are not limited to, attributes, metric, span and event names, span kind and unit of measure.
  • SHOULD introduce an environment variable OTEL_SEMCONV_STABILITY_OPT_IN as a comma-separated list of category-specific values. The list of values includes:
    • gen_ai_latest_experimental - emit the latest experimental version of GenAI conventions (supported by the instrumentation) and do not emit the old one (v1.36.0 or prior).
    • The default behavior is to continue emitting whatever version of the GenAI conventions the instrumentation was emitting (1.36.0 or prior).

This transition plan will be updated to include stable version before the GenAI conventions are marked as stable.

@trask trask marked this pull request as ready for review February 11, 2026 04:45
@trask

trask commented Feb 11, 2026

Copy link
Copy Markdown
Author

cc @lmolkova as original author of the instrumentation

@joseharriaga

Copy link
Copy Markdown
Collaborator

Thank you for you contribution, @trask ! I approved the request. Could I ask you to resolve the merge conflicts so that the changes can be merged? From looking at it:

  • It appears that the issue is simply that the files have moved from under src/Utility/Telemetry to OpenAI/src/Utility/Telemetry.
  • There shouldn't be any other conflicts because the contents of these files didn't change except for this small typo fix: 🔗 ba2c3c0

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