OpenTelemetry for Agents: What the First GenAI Semantic Conventions Release (v0.1.0) Changes
The GenAI semantic conventions shipped their first standalone release on 21 November 2026, with breaking renames for agent spans, tool metrics and cache tokens, new A2A, memory, skill and compaction conventions, and content capture off by default. What changed, what to rename, and how to avoid double-counting tokens.
BY AIAGENTINTERVIEWS EDITORIAL · EDITORIAL TEAM · UPDATED NOVEMBER 24, 2026 · 5 MIN READ
PRACTICE THIS:OpenTelemetry for agents lesson ·Reading a trace
Until last week, anyone instrumenting an agent with OpenTelemetry was following a moving draft inside the main semantic conventions repository. On 21 November 2026 the GenAI conventions shipped their first standalone release, v0.1.0, from their own repository, open-telemetry/semantic-conventions-genai. It is still marked Development, it has breaking changes, and it is the clearest statement yet of how agent telemetry is supposed to look.
At the same time the vendors converged on it: Anthropic began exporting OpenTelemetry traces for its API and managed agents on 14 October, Google's ADK switched its default telemetry to the newer conventions in October, and Grafana, Honeycomb, Langfuse and others shipped agent views on top. This article covers what v0.1.0 changes, what to rename in your instrumentation, and the counting mistake almost every agent dashboard makes. Checked against the repository and vendor documentation on 24 November 2026.
What the release is
The release note calls it the first standalone release of the GenAI semantic conventions, listing changes since semantic-conventions v1.41.0, the last release before the GenAI conventions moved out, and depending on v1.45.0 (2 November 2026). The documents cover model inference, embeddings, tool execution, retrieval, agent invocation and agent spans, events (including evaluation results), metrics, realtime, and provider and protocol specifics for Anthropic, AWS Bedrock, Azure AI Inference, OpenAI, A2A and MCP.
The status line matters: everything is still Development. Expect more breaking changes before a stable release, and pin the version your instrumentation targets.
The breaking changes to act on
| Before | In v0.1.0 |
|---|---|
invoke_workflow span with gen_ai.workflow.name | Folded into gen_ai.invoke_agent.internal; use gen_ai.agent.name |
gen_ai.client.token.usage histogram | gen_ai.client.inference.operation.input_tokens and .output_tokens |
gen_ai.client.operation.duration | Per operation: gen_ai.client.inference.duration, gen_ai.client.embeddings.duration, gen_ai.client.invoke_agent.duration, gen_ai.execute_tool.duration |
gen_ai.usage.cache_creation.input_tokens | gen_ai.usage.cache_write.input_tokens |
Span type gen_ai.execute_tool.internal | gen_ai.execute_tool |
MCP errors in rpc.response.status_code | rpc.status_code |
If you built dashboards on the old metric names, they will go quiet when your instrumentation library upgrades. Search your dashboards and alerts for token.usage, operation.duration, cache_creation and invoke_workflow before you upgrade.
What is new for agents
The release adds most of what an agent trace was missing:
- Client versus internal agent spans. An agent in another process is called through a client span (
gen_ai.client.invoke_agent); an agent running in the same process is an internal span (gen_ai.invoke_agent.internal). Agent duration buckets now go up to 24 hours, because agents run that long. - Planning and handoffs. A new
planoperation, andgen_ai.execute_tool.transferfor handoffs to another agent, with the transfer mode and target recorded. - Counts per run.
gen_ai.invoke_agent.inference_callsandgen_ai.invoke_agent.tool_callsmetrics: how many model calls and tool calls one agent run made, the first thing to look at when cost jumps. - A2A conventions for client and server spans, including agent card metadata.
- Memory, skills and compaction. A memory operation span;
gen_ai.skill.*attributes and refinements for loading skills and reading their files; andgen_ai.conversation.compacted, so a trace shows where the context was summarised. That last one matters when an agent forgets something: you can see whether it was compacted away. - Realtime spans for voice, per-modality token usage, and
*_refattributes for content stored outside the trace. - MCP context propagation.
traceparent,tracestateandbaggagetravel as keys in the request's_meta, so a trace can cross from the agent into an MCP server and back.
Content capture is off by default
Prompts, tool arguments and responses are the most useful thing in an agent trace and the most sensitive. In v0.1.0, OTEL_INSTRUMENTATION_GENAI_CAPTURE_CONTENT defaults to NO_CONTENT. You opt in with SPAN_ONLY, EVENT_ONLY or SPAN_AND_EVENT. Anthropic's export makes the same choice: metadata only by default, with full content as an option and a per-span size limit.
The design question is where content goes once you turn it on. Many teams send metadata to their general observability backend and content to a separate store with tighter access and shorter retention, linked by trace id; the new *_ref attributes exist for exactly that.
The token double-count
Token usage appears on more than one kind of span: on each model call, and summarised on the agent span that contains them. Add them all up and you count the same tokens twice. The conventions now say it outright: gen_ai.usage.* attributes are not additive across spans of different types. Sum one type, usually the inference spans.
spans = [
{"op": "invoke_agent", "name": "invoke_agent support", "input_tokens": 5200},
{"op": "chat", "name": "chat claude", "input_tokens": 3000},
{"op": "execute_tool", "name": "execute_tool lookup_order"},
{"op": "chat", "name": "chat claude", "input_tokens": 2200},
]
naive = sum(s.get("input_tokens", 0) for s in spans)
correct = sum(s["input_tokens"] for s in spans if s["op"] == "chat")
print(naive, correct)
# => 10400 5200
Anthropic's documentation gives a related warning for its own spans: count from one source, and remember that its input token count already includes cache reads and writes. Get this wrong and every cost dashboard you build is off by a factor that changes with the agent's shape.
Who emits it now
- Anthropic (14 October, beta): the SDKs in seven languages emit spans for Messages API calls and Managed Agents sessions using the GenAI attributes plus
anthropic.*ones, with span names for model requests, tool runners, session turns, compaction and outcome evaluation. Delivery is best effort. - Google ADK (2.13.0, 23 October): defaults to the newer GenAI conventions and drops its old
call_llmspan, with an environment variable to opt back into the old schema while you migrate dashboards. - Observability vendors: Grafana made Agent Observability with OpenTelemetry support generally available on 20 October; Honeycomb announced an AI ecosystem in early access on 29 September; Langfuse and Arize Phoenix added native ingestion of Claude traces in October.
A migration checklist
- Pin the semantic conventions version your instrumentation library targets, and read the release notes before upgrading it.
- Rename dashboard and alert queries for the metrics in the table above.
- Decide content capture deliberately: metadata everywhere, content in a restricted store, linked by id.
- Sum tokens from one span type.
- Propagate trace context into MCP servers and A2A peers so one request is one trace.
- Add
inference_callsandtool_callsper run to your cost dashboard; a jump in either usually explains a jump in spend.
What this means in an interview
"How would you observe this agent in production?" now has a standard to anchor on. A strong answer names the span types (agent, inference, tool), propagates context across MCP and A2A, keeps content out of general telemetry by default, counts tokens from one span type, and watches calls per run alongside latency and cost. Our OpenTelemetry for agents lesson and reading a trace build the same picture step by step.
Sources
Checked 24 November 2026:
- open-telemetry/semantic-conventions-genai: v0.1.0 release notes (21 November 2026) and docs/gen-ai, github.com
- open-telemetry/semantic-conventions releases (v1.45.0, 2 November 2026), github.com
- Anthropic API release notes (14 October 2026) and OpenTelemetry documentation, platform.claude.com/docs
- google/adk-python v2.13.0 release notes, github.com
- Grafana ObservabilityCON 2026 press release (20 October 2026), grafana.com; Honeycomb blog index; Langfuse October 2026 update; Arize Phoenix release notes
Where this post leads in the curriculum: lessons and interview questions:
FAQ
No. As of 24 November 2026 they are still marked Development, including the agent span and MCP documents. Version v0.1.0 on 21 November 2026 is the first standalone release from the new semantic-conventions-genai repository, and it contains breaking changes.