Update open-telemetry/semantic-conventions-genai to latest#7642
Update open-telemetry/semantic-conventions-genai to latest#7642github-actions[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Automation took over this PRThis run adopted the bootstrapped draft PR #7642 and added the machine-readable What was validated this run
Release signalNo GitHub Release published for Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "winprotocoldocsbhdugrdyduf5h2e4.b02.azurefd.net"
- "www.bondcap.com"See Network Configuration for more information.
|
Daily scan update — 2026-07-22Scanned upstream commit: No convention changes in this delta. The single new upstream commit (#391) is a Renovate bot Python reference-implementation dependency bump — it touches only The PR body tracking block has been refreshed to the new upstream SHA. No code changes were needed; all previously integrated and deferred items remain current.
|
Integrates merged upstream changes from
open-telemetry/semantic-conventions-genaiat commit2e994c6d59a93bb4fc1752c5378eedb9b8e14d6b(scanned 2026-07-22).No published GenAI release exists yet (GitHub Releases returns 404 for
open-telemetry/semantic-conventions-genai). This draft PR tracks all convention changes ahead of the implemented version (v1.41) until a release is published.Release Signal Confidence
Release detection confidence: none. No published GitHub Release exists for
open-telemetry/semantic-conventions-genai. The scanned state is identified by upstream commit SHA2e994c6d59a93bb4fc1752c5378eedb9b8e14d6band scan date 2026-07-22. The workflow will flip this PR to Ready for Review when a release is published and its resolved commit matches the recordedupstream-scan-ref.Changes Table
All upstream changelog fragments at the scanned commit, classified by actionability:
moonshot_aitogen_ai.provider.namewell-known valuesgen_ai.agent.namesampling-relevant oncreate_agent,invoke_agent, etc.create_agentspan instrumented in this repogen_ai.workflow.durationmetricgen_ai.tool.call.arguments/resultopt-in attrs to MCP server spandocumentmodality value to message JSON schemasDeriveModalityFromMediaTypenow returns"document"forapplication/*media typesgen_ai.conversation.compactedon inference spansgen_ai.prompt.versionandgen_ai.prompt.variablegen_ai.invoke_agent.durationandgen_ai.execute_tool.durationmetricsinput_tokens/output_tokensgen_ai.provider.namedescriptiongen_ai.provider.nameongen_ai.client.operation.durationto conditionally requiredgen_ai.request.top_ktypedouble→int, scoped to decodingChatOptions.TopKisint?; no change neededgen_ai.request.top_ksemantics (decoding, not OpenAItop_logprobs)gen_ai.conversation.idshould not use fallback valuesConversationIdis settraceparent, etc.)gen_ai.agent.idstability; remove from internal agent spansgen_ai.agent.idis not emitted on internal spans in this repogen_ai.system_instructionsparts to text onlyOtelGenericPartgen_ai.request.reasoning.levelattributeChatOptions.Reasoning.Effort(mapped to lowercase string)gen_ai.provider.namerequired frominvoke_agentinternal spaninvoke_agentspansgen_ai.invoke_agent.durationis in-procinvoke_agent/execute_toolattrs; removegen_ai.agent.versionfrom internal; mark sampling-relevantgen_ai.invoke_agent.inference_callsandgen_ai.invoke_agent.tool_callsmetricsgen_ai.system_instructionsreference scenariosplanoperation for GenAI agent planning spansImplemented Changes
gen_ai.request.reasoning.level(upstream PR #258)New attribute recording the reasoning/thinking effort level. Added
OpenTelemetryConsts.GenAI.Request.ReasoningLevelconstant and emission inOpenTelemetryChatClientwhenChatOptions.Reasoning.Effortis set, mapped to lowercase string values ("low","medium","high","none","extrahigh").documentmodality forapplication/*content parts (upstream PR #142)The message JSON schemas now include
documentas a validModalityvalue alongsideimage,audio, andvideo. UpdatedOtelMessageSerializer.DeriveModalityFromMediaTypeto return"document"forapplication/*media types (e.g.application/pdf).Version doc-comment migration
Migrated all
OpenTelemetry*instrumentation client doc comments from the legacy wording"Semantic Conventions for Generative AI systems v1.41"to"GenAI Semantic Conventions v1.41", reflecting that the conventions now live in the standaloneopen-telemetry/semantic-conventions-genairepo.Deferred Items (tracked, not yet coded)
The following upstream changes are tracked but deferred because no current emission site exists in this repo:
planoperation spans.invoke_agentspans not yet emittinggen_ai.agent.name.