$npx skillfedfor your agent

opentelemetry-semantic-conventions

OpenTelemetry Semantic Conventions

Worth itPyPI MonitoringReleased Jul 2026542.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_semantic_conventions-0.65b0-py3-none-any.whl
v0.65b0 · released 2026-07-16 · Python >=3.10 · 2 runtime deps: opentelemetry-api, typing-extensions

Yes. This is a foundational library for any OpenTelemetry instrumentation work. It has low install friction, active maintenance, permissive licensing, no known vulnerabilities, and is ranked in the top 100 PyPI packages by downloads. Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with minimal dependencies.
  • Actively maintained with a recent release (29 days old) and stable repository status.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-08-13 · 2,587 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 542,941,923 downloads/mo, #72 on PyPI

Verify before relying

pip install opentelemetry-semantic-conventions

from opentelemetry.semconv.trace import SpanAttributes

# Use semantic convention constants in instrumentation
span.set_attribute(SpanAttributes.HTTP_METHOD, "GET")
  • Whether the package includes constants for all current OpenTelemetry semantic convention domains (trace, metrics, logs, resource).
  • How frequently the generated code is updated relative to OpenTelemetry specification releases.
Same gist for agents: .md · .json

What it is and what it does

OpenTelemetry Semantic Conventions is a library of auto-generated Python code that defines standardized attribute names and constants for OpenTelemetry instrumentation. It implements the naming conventions specified in the OpenTelemetry specification, allowing developers to use consistent, well-defined constants when adding attributes to spans, metrics, and other telemetry signals rather than hard-coding string names.

The package is generated automatically from the OpenTelemetry specification and depends only on opentelemetry-api and typing-extensions. It is intended for use by instrumentation libraries and applications that need to follow OpenTelemetry standards. The code is production-stable, actively maintained, and supports modern Python versions.

Use it for

  • Standardize span and metric attribute names across custom instrumentation code.
  • Ensure compliance with OpenTelemetry semantic conventions in distributed tracing implementations.
  • Reduce typos and inconsistencies when instrumenting HTTP, database, or messaging operations.
  • Enable IDE autocompletion and type checking for semantic convention constants.
  • Build instrumentation libraries that follow OpenTelemetry best practices.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a foundational library for any OpenTelemetry instrumentation work. It has low install friction, active maintenance, permissive licensing, no known vulnerabilities, and is ranked in the top 100 PyPI packages by downloads. Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Install

opentelemetry-semantic-conventions on PyPI

Before you install

Low friction install with minimal dependencies. Actively maintained with a recent release (29 days old) and stable repository status. Supports current Python versions (3.10–3.14).

Requires Python 3.10 or later.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions.

Quickstart

pip install opentelemetry-semantic-conventions

from opentelemetry.semconv.trace import SpanAttributes

# Use semantic convention constants in instrumentation
span.set_attribute(SpanAttributes.HTTP_METHOD, "GET")

Verify before relying

  • Whether the package includes constants for all current OpenTelemetry semantic convention domains (trace, metrics, logs, resource).
  • How frequently the generated code is updated relative to OpenTelemetry specification releases.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
opentelemetry-apityping-extensions
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads542,941,923 / month, #72 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

Evidence: opentelemetry_semantic_conventions-0.65b0-py3-none-any.whl

Tags

Capabilities
opentelemetry semantic conventionsotel attribute constantstelemetry naming standardsinstrumentation conventionsopentelemetry span attributessemantic convention definitionsotel constants library
Topics
observabilityinstrumentationstandards

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry semantic conventions”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo
psutil Worth it
PyPI · Libraries · released Jan 2026

psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.

permissive licensecompiled wheel · 3.6+
387.6Mdownloads / mo

See also opentelemetry-semantic-conventions-ai · aliyun-semantic-conventions · vercel-internal-telemetry · opentelemetry-instrumentation-logging · opentelemetry-distro · opentelemetry-test-utils · opentelemetry-instrumentation-openai-agents-v2 · opentelemetry-proto