opentelemetry-semantic-conventions
OpenTelemetry Semantic Conventions
Install
opentelemetry-semantic-conventions on PyPI
pip
pip install opentelemetry-semantic-conventionsuv
uv add opentelemetry-semantic-conventionspoetry
poetry add opentelemetry-semantic-conventionsPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — opentelemetry-api, typing-extensions |
| Maintenance | actively maintained — 28 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: opentelemetry_semantic_conventions-0.65b0-py3-none-any.whl
About opentelemetry-semantic-conventions
from the package's own PyPI description — quoted content, verbatim
OpenTelemetry Semantic Conventions
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-semantic-conventions.svg :target: https://pypi.org/project/opentelemetry-semantic-conventions/
This library contains generated code for the semantic conventions defined by the OpenTelemetry specification.
Installation
::
pip install opentelemetry-semantic-conventions
Code Generation
These files were generated automatically from code in semconv_.
To regenerate the code, run ../scripts/semconv/generate.sh.
To build against a new release or specific commit of opentelemetry-specification_,
update the SPEC_VERSION variable in
../scripts/semconv/generate.sh. Then run the script and commit the changes.
.. _opentelemetry-specification: https://github.com/open-telemetry/opentelemetry-specification .. _semconv: https://github.com/open-telemetry/opentelemetry-python/tree/main/scripts/semconv
References
OpenTelemetry Project <https://opentelemetry.io/>_- `OpenTelemetry Semantic Conventions Definitions...
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides generated semantic convention constants and enums for OpenTelemetry instrumentation, enabling standardized attribute naming across observability signals.
Low friction install with only two runtime dependencies (opentelemetry-api and typing-extensions). Active maintenance with a recent release 28 days ago and ongoing repository activity.
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions.
Usage
pip install opentelemetry-semantic-conventions
from opentelemetry.semconv import trace
# Use trace.SpanAttributes constants for standardized span attribute names
Requires Python 3.10 or later; package is currently at version 0.65b0 (beta).
Verdict: A well-maintained, actively developed library in the top 100 PyPI packages with no known vulnerabilities. The beta version status and permissive Apache-2.0 license make it suitable for production use in OpenTelemetry instrumentation. Low install friction and current Python 3.10+ support align with modern standards.
Needs verification
- Whether the 0.65b0 beta designation indicates planned breaking changes or stability concerns before a 1.0 release.
- The scope and completeness of semantic conventions covered relative to the full OpenTelemetry specification.
Similar packages
permissive · top 1,000 on PyPI
opentelemetry-distropermissive · top 1,000 on PyPI
opentelemetry-instrumentation-aiohttp-clientpermissive · top 1,000 on PyPI
opentelemetry-instrumentation-redispermissive · top 1,000 on PyPI
opentelemetry-instrumentation-fastapipermissive · top 1,000 on PyPI
opentelemetry-instrumentation-flaskpermissive · top 1,000 on PyPI
aenumpermissive · top 1,000 on PyPI
opentelemetry-protopermissive · top 1,000 on PyPI
pyzmqpermissive · top 1,000 on PyPI
opentelemetry-apipermissive · top 100 on PyPI