Blank white background with no objects or features visible.

TrueForgeのご紹介:オープンソースでベンダーフリーなエージェントハーネス。コストを50%削減します。今すぐ試す→

OpenTelemetry GenAI Conventions: A Common Vocabulary for AI Observability

By Boyu Wang

Published: August 22, 2026

OpenTelemetry is giving GenAI systems a shared telemetry vocabulary, but it is not a finished universal schema. In June 2026, the project moved its GenAI, provider-specific, and MCP semantic conventions into a dedicated repository so they could iterate and version independently. That repository currently marks the GenAI conventions as Development, and as of August 21, 2026 it has no official release. The opportunity is still substantial: common names for model operations, token usage, agent steps, MCP calls, content events, and evaluation results can reduce translation work across instrumentation and observability backends. The engineering posture should be adoption with version awareness—not an assumption that gen_ai.* has already frozen.

Key Takeaways

Key Takeaways

  • A common vocabulary is emerging, not a finished schema. The dedicated OpenTelemetry GenAI conventions repository is still Development and independently evolving.
  • Inference telemetry goes beyond a model-name field. Current conventions cover model operations, input/output token usage, durations, outcomes, and related metrics.
  • Agents and MCP have first-class conventions. Agent operations include create/invoke/plan/execute-tool concepts; MCP defines client/server spans, context propagation, and metrics.
  • Content capture is opt-in and sensitive. The inference-operation-details event is Opt-In, and implementation support still varies by language.
  • Evaluation is represented—but not performed—by OpenTelemetry. gen_ai.evaluation.result provides a standard carrier for evaluator scores and explanations.
  • Portability is directional, not automatic. Shared semantics reduce re-instrumentation and translation, but backend support, convention versions, custom attributes, and queries still matter.
  • TrueFoundry already provides an OTel-native export boundary. AI Gateway exports traces and metrics over OTLP and documents current-style gen_ai.* attributes alongside TrueFoundry extensions; exact compatibility with a moving unreleased schema should still be verified.

Two teams can emit valid OpenTelemetry and still disagree about what an LLM call means. Transport interoperability and semantic interoperability are different problems. OTLP can move telemetry between systems; semantic conventions make the fields inside that telemetry more consistently interpretable. For GenAI, the second problem is still being actively standardized.

Current Status Note
Current status matters
OpenTelemetry core semantic-conventions v1.42.0 moved the GenAI definitions into the separate semantic-conventions-genai repository. The old definitions in the core repository are deprecated there because they moved—not because GenAI telemetry itself is deprecated. The new repository currently labels the conventions Development. Treat examples in older articles and SDKs as versioned artifacts, not timeless field names.

1. Why GenAI Needs More Than Generic APM

Generic APM remains useful for throughput, latency, errors, dependencies, and service health. GenAI adds semantics that those signals do not describe by themselves.

Probabilistic behavior. The same logical request can produce different outputs, so debugging often needs the requested and served model, generation settings, response identifiers, and—where policy permits—relevant input or output context. Full content is useful evidence, but it is not always appropriate or necessary to retain.

Token economics. Request counts still matter for load and rate limiting, but they are insufficient for spend and model-efficiency analysis. A small number of long-context calls can cost more than a large number of short ones. Current GenAI metrics include token usage and operation duration, along with time-to-first-chunk and time-per-output-chunk measures.

Agent structure. A model call is only one operation inside many agents. Planning, tool execution, retrieval, workflows, and MCP calls may determine the outcome. Observability therefore needs a vocabulary for the execution that surrounds inference, not only the provider API boundary.

Content sensitivity. Prompts and outputs frequently contain user or business data. OpenTelemetry can describe how to record that content, but whether to capture, retain, export, redact, or restrict it remains a data-governance decision.

2. What the Conventions Cover Now

The most useful way to read the current work is by signal and operation rather than by assuming one maturity ladder. The dedicated GenAI repository marks the overall conventions as Development.

Model and inference spans. Current conventions define GenAI client operations including inference, embeddings, retrievals, response fetching, memory operations, and tool execution. Common attributes include gen_ai.provider.name, gen_ai.operation.name, requested and response model identifiers, and input/output token usage. Span timing supplies operation duration; dedicated metrics standardize token usage and latency-related measurements.

Agent and framework spans. The agent conventions define operations such as create_agent, invoke_agent, invoke_workflow, plan, and execute_tool. These spans can make an instrumented execution path reconstructible. They do not expose a model's private reasoning, and they do not appear automatically unless the relevant framework or instrumentation emits them.

MCP conventions. MCP has its own Development conventions for client and server spans, W3C Trace Context propagation, transport correlation, tool-aware attributes, and metrics such as mcp.client.operation.duration and mcp.server.operation.duration. The value is continuity across the MCP boundary—not a promise that every MCP implementation already emits the conventions.

Metrics and provider-specific conventions. The repository defines client, server, workflow, agent, and tool metrics and adds provider-specific conventions for systems including OpenAI, Anthropic, Azure AI Inference, and AWS Bedrock.

OpenTelemetry GenAI conventions mapped across model inference, agent and workflow execution, MCP, content capture, evaluation results, and portability guidance.
Figure 1: The current GenAI conventions cover model operations, agent/workflow operations, MCP spans and metrics, opt-in content details, and a standard event for evaluator results. They standardize telemetry semantics; they do not automatically instrument every layer or perform evaluation. TrueFoundry editorial synthesis; original graphic.

3. Content Capture Is an Opt-In Policy Decision

The current event gen_ai.client.inference.operation.details can carry chat history, parameters, inputs, and outputs independently from the main trace. Its requirement level is explicitly Opt-In, and the OpenTelemetry documentation warns that event support is not yet available in every language.

That is a better default than treating prompts and completions as ordinary diagnostic text. OpenTelemetry defines the telemetry shape; it does not decide your retention period, regional storage, access policy, legal basis, or redaction requirements. Those remain operator and backend responsibilities.

For a production deployment, write the policy before turning content on: which environments may capture full content, what is filtered or truncated, where exported telemetry is allowed to go, how long it is retained, and who can retrieve it.

Try now.

One gateway for all your models, MCP servers, and agents.
No credit card needed.

Start free
Table of Contents

One Gateway for Every LLM, Agent and MCP Server

Book a 30-min with our AI expert

Book a Demo

The fastest way to build, govern and scale your AI

Book Demo
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Discover More

No items found.
August 22, 2026
|
5 min read

OpenTelemetry GenAI Conventions: A Common Vocabulary for AI Observability

No items found.
August 22, 2026
|
5 min read

The Loop Is the New Middleware: Loop Engineering as an Enterprise Strategy

No items found.
August 22, 2026
|
5 min read

Graph Engineering for AI Agents: Govern the Connections

No items found.
August 21, 2026
|
5 min read

Human in the Loop for MCP: TrueFoundry vs Kong

比較
No items found.

Recent Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.
Take a quick product tour
Start Product Tour
Product Tour