skillfed

opentelemetry-semantic-conventions

OpenTelemetry Semantic Conventions

opentelemetry-semantic-conventions Permissive license Apache-2.0 Active 2,586 v0.65b0 released

Install

opentelemetry-semantic-conventions on PyPI

pip

pip install opentelemetry-semantic-conventions

uv

uv add opentelemetry-semantic-conventions

poetry

poetry add opentelemetry-semantic-conventions

Package 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

Development Status :: 5 - Production/StableFramework :: OpenTelemetryIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

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.
opentelemetry semantic conventionsotel attribute constantsobservability semantic standardstelemetry attribute namingotel instrumentation conventionsopentelemetry spec constantstrace span attributes

Similar packages