What metrics do the OpenTelemetry GenAI semantic conventions define?
They define 22 metrics in four groups: token usage, client-side latency, model-server latency, and agent activity, and every one is still marked as in development. Token usage is five running counters (input, output, cache-read input, cache-write input, and reasoning output) plus per-call histograms for input and output tokens on inference and input tokens on embeddings.
Client latency is split by operation type: gen_ai.client.inference.duration, gen_ai.client.embeddings.duration, gen_ai.client.invoke_agent.duration for a remote agent, and time to first chunk and time per chunk on a streamed response. Anything else falls to gen_ai.client.operation.duration. A model server reports its own request duration, time to first token, and time per output token.
The agent group times one in-process agent run end to end with gen_ai.invoke_agent.duration and counts the model calls and tool calls that run made. Single tool executions and retrievals get their own duration metrics.
The list still moves. The retrieval and remote-agent metrics landed in the first week of November 2026, and the old single token histogram was split into the counters above in September, so a dashboard has to expect renamed fields.
published