open-telemetry/semantic-conventions-genai

347

stars

543

commits

Python

primary language

Sep 10, 2026

updated

opentelemetry.ioBrowse cluster: OpenTelemetry instrumentation and standards

README

OpenTelemetry Icon OpenTelemetry GenAI Semantic Conventions

Semantic Conventions for Generative AI (GenAI), including spans, metrics, and events for GenAI clients, MCP (Model Context Protocol), and provider-specific conventions (OpenAI, etc.).

This repository extends the OpenTelemetry Semantic Conventions with GenAI-specific conventions, using Weaver to manage dependencies on the core semantic conventions.

Schema URL

TODO

Read the docs

The human-readable version of the semantic conventions resides in the docs folder. Major parts of these Markdown documents are generated from the YAML definitions located in the model folder.

Reference implementations and their tooling live under reference. For the Python reference compliance matrix and per-signal support reports, see reference/README.md. For contribution guidance specific to that project, see reference/CONTRIBUTING.md.

Contributing

See CONTRIBUTING.md.

Contributors

(top 30 of 106)

trask

168 commits

lmolkova

44 commits

renovate[bot]

43 commits

jsuereth

26 commits

open-telemetry/semantic-conventions-genai

347

stars

543

commits

Python

primary language

Sep 10, 2026

updated

opentelemetry.ioBrowse cluster: OpenTelemetry instrumentation and standards

README

OpenTelemetry Icon OpenTelemetry GenAI Semantic Conventions

Semantic Conventions for Generative AI (GenAI), including spans, metrics, and events for GenAI clients, MCP (Model Context Protocol), and provider-specific conventions (OpenAI, etc.).

This repository extends the OpenTelemetry Semantic Conventions with GenAI-specific conventions, using Weaver to manage dependencies on the core semantic conventions.

Schema URL

TODO

Read the docs

The human-readable version of the semantic conventions resides in the docs folder. Major parts of these Markdown documents are generated from the YAML definitions located in the model folder.

Reference implementations and their tooling live under reference. For the Python reference compliance matrix and per-signal support reports, see reference/README.md. For contribution guidance specific to that project, see reference/CONTRIBUTING.md.

Contributing

See CONTRIBUTING.md.

Contributors

(top 30 of 106)

trask

168 commits

lmolkova

44 commits

renovate[bot]

43 commits

jsuereth

26 commits

Languages

Python

92.7%

Jinja

5.4%

Makefile

1.6%