AIテレメトリ標準編

用語・参照用語・参照実挙動未確認実挙動未観測鮮度未確認鮮度を確定できない
記事ID
EA-051

要点

「OpenTelemetryとW3C Trace Contextは、AIテレメトリのための強力な相互運用性の基盤を提供しますが、AI特有のセマンティック・コンベンション(意味論的規約)は依然として進化中のレイヤーです。2026-09-14時点で、OpenTelemetryのGenAIコンベンションは専用のリポジトリに移行しており、いくつかのエージェント関連の概念は現在も活発に開発中です。OpenInferenceは、モデル、ツール、検索、エージェント、評価を幅広くカバーする、OpenTelemetryベースの補完的なAIスキーマを提供しています。エンタープライズでの導入においては、スキーマのバージョンを固定・記録し、プロバイダーや言語によるインストルメンテーションの網羅性を検証し、プロンプトおよび出力のキャプチャを、ガバナンス対象の機密テレメトリとして扱うべきです。」

現在の判断

Stable common substrate and AI semantic layer must be separated. W3C Trace Context provides a mature cross-service propagation mechanism; OpenTelemetry provides transport/data-model/collector ecosystem. AI-specific semantics are moving faster and should be version-gated independently.

どこまで当てはまるか

  • Language SDK support and auto-instrumentation coverage differ by runtime.
  • OpenTelemetryのGenAI属性、ステータス、およびリリースの可用性は、アップデートの公開時に再確認する必要がある。
  • Provider SDK versions determine which token/cost/tool attributes are observable.
  • Collector/backend must preserve required attributes and W3C trace context across service boundaries.
  • Organization policy may prohibit payload-level prompt/output telemetry even where SDK capture is technically available.

詳しく理解する

対象範囲と前提

共通の運用原則/互換性/観測・監視/実装/運用管理/セキュリティ・プライバシー/製品への適用を整理するための入力。

検討ポイント

AI telemetryをprovider横断で構成する際、2026-09-14時点で何が安定した共通基盤で、何が発展途上のAI固有semantic layerか。OpenTelemetry GenAIとOpenInferenceはどこまで共通化でき、どこをschema/version gateとして扱うべきか。

根拠資料

  • source class: standard exact title: Trace Context author/org: W3C canonical URL: https://www.w3.org/TR/trace-context/ 公開/更新/アクセス: W3C Recommendation 2020-02-06; アクセス日: 2026-09-14 version/revision: Recommendation with editorial updates locator: traceparent / tracestate definitions; distributed trace context propagation evidence label: 仕様確認済み relation: support/context
  • 資料の種類:公式仕様 正確なタイトル: OpenTelemetry semantic conventions 1.44.0 著者・組織:OpenTelemetry canonical URL: https://opentelemetry.io/docs/specs/semconv/ 公開・更新・参照:参照日 2026-09-14 version/revision: SemConv 1.44.0 page; GenAI section points to dedicated repository locator: “Generative AI: Moved to the OpenTelemetry GenAI semantic conventions repository.” evidence label: 仕様確認済み / 製品情報は要再確認 relation: support/context
  • 資料の種類:著者が保守する保管先・仕様 正確なタイトル: OpenTelemetry GenAI Semantic Conventions 著者・組織:OpenTelemetry canonical URL: https://github.com/open-telemetry/semantic-conventions-genai 公開・更新・参照:参照日 2026-09-14 version/revision: repository main; schema URL shown as https://opentelemetry.io/schemas/gen-ai/1.42.0 ロケーター: README; 生成AI特有の範囲、指標、イベント、MCP/プロバイダーの慣習 evidence label: 仕様確認済み / OSS_PRACTICE / 製品情報は要再確認 relation: support/context
  • 資料の種類:著者が保守する保管先の提供版の状態 正確なタイトル: Releases · open-telemetry/semantic-conventions-genai 著者・組織:OpenTelemetry canonical URL: https://github.com/open-telemetry/semantic-conventions-genai/releases 公開・更新・参照:参照日 2026-09-14 version/revision: no GitHub releases visible as of access date locator: releases page — “There aren’t any releases here” evidence label: OBSERVED / 製品情報は要再確認 対応関係:適用限界/反証
  • 資料の種類:公式仕様の原資料 exact title: Semantic conventions for generative client AI spans 著者・組織:OpenTelemetry canonical URL: https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-spans.md 公開・更新・参照:参照日 2026-09-14 version/revision: repository main 場所: ページステータス “Development”; 推論 / ベクトル / 検索 / フェッチレスポンス / メモリ / ツール実行の範囲 evidence label: 仕様確認済み / 製品情報は要再確認 relation: support/limit
  • 資料の種類:公式仕様の原資料 正確なタイトル:GenAIエージェント呼び出しに関するセマンティック規約 著者・組織:OpenTelemetry canonical URL: https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-agent-spans.md 公開・更新・参照:参照日 2026-09-14 version/revision: repository main locator: create agent / invoke workflow / plan span definitions and requirement language evidence label: 仕様確認済み / 製品情報は要再確認 relation: support/context
  • ソースのクラス: 作成者によって維持されている仕様 exact title: OpenInference Specification 著者/組織: Arize AI / OpenInference canonical URL: https://arize-ai.github.io/openinference/spec/ 公開・更新・参照:参照日 2026-09-14 version/revision: current docs locator: OpenInference described as AI observability semantic conventions built on OpenTelemetry; LLM, agent, tool, retrieval, evaluation and privacy requirements evidence label: 仕様確認済み / OSS_PRACTICE relation: support/context
  • ソースのクラス: 作成者によって維持されている仕様 exact title: Semantic Conventions | OpenInference 著者/組織: Arize AI / OpenInference canonical URL: https://arize-ai.github.io/openinference/spec/semantic_conventions.html 公開・更新・参照:参照日 2026-09-14 version/revision: current docs 場所: スパン種別 LLM / EMBEDDING / CHAIN / RETRIEVER / RERANKER / TOOL / AGENT / GUARDRAIL / EVALUATOR / PROMPT; トレース/セッション評価 evidence label: 仕様確認済み / OSS_PRACTICE relation: support
  • ソースのクラス: 作成者によって維持されている仕様 exact title: OpenInference Configuration 著者/組織: Arize AI / OpenInference canonical URL: https://arize-ai.github.io/openinference/spec/configuration.html 公開・更新・参照:参照日 2026-09-14 version/revision: current docs locator: OPENINFERENCE_HIDE_* controls and __REDACTED__ behavior; defaults documented as False for multiple capture-hiding switches evidence label: 仕様確認済み / OSS_PRACTICE 対応関係:裏付け/適用限界/セキュリティ
  • 資料の種類:著者の問題報告・失敗に関する不足 正確なタイトル: Agentic Workflow Spans(エージェント型ワークフローの期間)に関する汎用的なグループ化属性 #94 著者・組織:OpenTelemetry semantic-conventions-genaiの協力者 canonical URL: https://github.com/open-telemetry/semantic-conventions-genai/issues/94 公開/更新/アクセス: 2026-04-25公開; 2026-09-14アクセス バージョン/改訂版: issue #94、インデックスされたソースにて公開中 locator: lack of standardized grouping for iterations/tasks/skills/phases in agentic workflows evidence label: SOURCE_REPORT / OSS_PRACTICE / 製品情報は要再確認 対応関係:反証/適用限界
  • 資料の種類:著者の問題報告・実装上の不足 正確なタイトル: Add metrics support to Anthropic & Groq GenAI instrumentations #98 著者・組織:OpenTelemetry opentelemetry-python-genaiの協力者 canonical URL: https://github.com/open-telemetry/opentelemetry-python-genai/issues/98 公開/更新/アクセス: 2026-05-14に公開; 2026-09-14にアクセス version/revision: issue #98 locator: OpenAI v2はスパンとメトリクスを出力するが、引用されているAnthropic/Groqのインストルメンテーションはメトリクスなしのスパンのみを出力する evidence label: SOURCE_REPORT / OSS_PRACTICE / 製品情報は要再確認 対応関係:反証/適用限界
  • 資料の種類:著者の問題報告・データ形式の運用上の不足 exact title: Publish Semantic Conventions in a Machine-Readable Format #3097 著者・組織:Arize-ai/openinferenceの協力者 canonical URL: https://github.com/Arize-ai/openinference/issues/3097 公開・更新・参照:開始日 2026-05-13; 参照日 2026-09-14 version/revision: issue #3097 locator: conventions defined in Markdown and manually re-declared across language packages; request for canonical machine-readable representation evidence label: SOURCE_REPORT / OSS_PRACTICE / 製品情報は要再確認 対応関係:反証/適用限界

確認できていること

  • OpenTelemetry GenAI セマンティック・コンベンションは、2026年にコアの semantic-conventions リポジトリから分離されました。専用のリポジトリでは GenAI スキーマのURLが公開されていますが、調査したリリース一覧ページには、正式な GitHub リリースは存在しません。したがって、将来の文書において、確立された GA(一般提供)レベルの AI テレメトリ標準であるかのような表現を用いてはなりません。

  • 現在のOpenTelemetry GenAIに関する資料は、推論だけでなく、検索、メモリ、ツール実行、エージェント/一連の処理/プランニングの操作もカバーしている。これは将来のCoreのトレーストポロジーを定義するのに十分であるが、個々の属性の安定性については、依然としてバージョンごとの確認が必要である。

  • OpenInferenceはOpenTelemetryの代替となる転送手段ではなく、OpenTelemetry/OTLP上で動作するように設計されたAI特有のセマンティック・コンベンション(意味論的規約)レイヤーです。これはすでに、本番環境のAI運用に有用な広範なスパン種(span-kind)の分類や、評価・アノテーションの概念を提供しています。

  • OpenTelemetry GenAI and OpenInference are overlapping but not identical schemas. Treating them as wire-compatible synonyms would be unsafe. An update should maintain an explicit mapping table and record the originating schema/version on telemetry.

  • Instrumentation maturity differs by provider/language. The cited OpenTelemetry Python GenAI issue demonstrates that even within the same project some integrations may emit different signal sets. “Uses OTel” does not prove equivalent observability coverage.

  • Agent hierarchy remains an active design area. Issue #94 records a missing generic grouping primitive for iterations/tasks/skills/phases, which limits generic reconstruction of complex agent trajectories.

  • Sensitive prompt/tool/output capture is a governance control, not a harmless debugging default. OpenInference exposes explicit masking knobs; the update should require capture policy, redaction policy and retention policy before enabling content-rich traces.

よくある失敗・反証

  • Repository main pages are moving targets; exact attribute names/status can change without product deployment changes.

  • “No GitHub releases” is an as-of observation, not evidence that the project is unusable or unversioned in every distribution channel.

  • OpenInference author docs establish its own intended semantics, not universal industry adoption.

  • Issue reports establish concrete gaps in cited implementations/revisions, not defects in every language/provider/version.

  • Trace completeness can fail at async boundaries, browser/desktop automation boundaries, external SaaS calls or components that do not propagate context. A trace backend cannot reconstruct events never instrumented.

  • モデルの入出力をすべて取得すると、個人情報(PII)、機密データ、プロンプト内の機密情報、および保持期間に関するリスクが生じる可能性があります。エクスポート後の情報の削除(Redaction)では、手遅れになる可能性があります。

  • Sampling can distort rare-failure analysis and token/cost aggregation unless sampling semantics are accounted for.

実務での使い方

  • Recommended architecture: W3C Trace Context + OpenTelemetry SDK/OTLP/Collector as substrate; choose one AI semantic profile per instrumentation boundary; persist schema/profile version; map alternate schemas at collector/backend rather than silently mixing attribute names. Instrument at least model, retrieval, tool, agent/workflow and application/backend boundaries. Add evaluation signal separately from raw execution telemetry.

  • No benchmark score proves telemetry completeness. Validation should instead use a synthetic trace conformance test: execute a known model→retrieval→tool→model workflow; verify parent/child structure, context propagation, errors, retries, token metadata, evaluation attachment, redaction and sampling behavior. Repeat after instrumentation/provider SDK upgrades.

  • セキュリティ/プライバシー: キャプチャの前に、プロンプト、生成結果、ツールの引数/結果、および検索された文書を分類する。機密性が不明な場合は、デフォルトでメタデータのみとする。可能な場合は、エクスポート前に情報の削除(Redact)を行う。 Audit: preserve trace_id, span_id, schema/profile version, instrumentation library version, model/provider identifiers and evaluation provenance. Cost: token/cost attributes are useful but provider instrumentation coverage is uneven; billing records remain the financial source of truth unless independently reconciled. Operability: deploy schema-change detection and dashboards that tolerate missing optional attributes rather than assuming every provider emits identical fields.

  • W3C Trace Context/OpenTelemetry core substrate must remain separate from evolving AI-specific semantic layers. OpenTelemetry semantic-conventions v1.44.0 moved GenAI content to the dedicated semantic-conventions-genai repository; GenAI conventions remain actively changing/development and require schema/version pinning. OpenTelemetry GenAI and OpenInference are overlapping but not interchangeable schemas. Preserve provider/language instrumentation gaps and all Unconfirmed.

まだ確認できていないこと

  • first formal release/versioning policy of semantic-conventions-genai; convergence/divergence trajectory with OpenInference; provider-specific auto-instrumentation parity; stable representation for agent iteration/task grouping.

  • 外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。

根拠資料

この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。

このページから探す

種類

主題

やりたいこと

読み終えたら、次の判断へ

この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。

最初の知見から実務判断まで、3つの読み方を見る