Registry / observability / opentelemetry-proto

opentelemetry-proto

JSON →
library1.40.0pypypiunverified

OpenTelemetry is a set of APIs, libraries, agents, and instrumentation to provide observability for applications. Current version is 1.40.0, with releases following a regular cadence for improvements and bug fixes.

observabilityserialization
pip install opentelemetry-proto
Install & Compatibility
Where this runs
tested against v1.42.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
3/5 runs
3/5 runs
py 3.11
3/5 runs
3/5 runs
py 3.12
3/5 runs
3/5 runs
py 3.13
3/5 runs
3/5 runs
py 3.9
3/5 runs
3/5 runs
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NoOpTracer
from opentelemetry.trace import NoOpTracer
from opentelemetry.proto.tracing import NoOpTracer

A simple example of using NoOpTracer to create a span.

from opentelemetry.proto.tracing import NoOpTracer tracer = NoOpTracer() span = tracer.start_span('example')
Debug
Known issues
breakingstart_span and start_as_current_span return behavior has changed.
fix
Review the new behavior of NoOpTracer and update your span logic accordingly.
affects: >=1.40.0
deprecatedLoggingHandler in opentelemetry-sdk is deprecated; use opentelemetry-instrumentation-logging instead.
fix
Switch to using opentelemetry-instrumentation-logging for logging.
affects: >=1.40.0
breakingThe module `opentelemetry.proto.tracing` is an internal module and not intended for direct import. It has been removed or is inaccessible through standard library imports.
fix
Avoid importing from `opentelemetry.proto`. If you were trying to access `NoOpTracer`, import it from `opentelemetry.trace` instead (e.g., `from opentelemetry.trace import NoOpTracer`).
affects: >=1.40.0
breaking`opentelemetry.proto.tracing` module has been removed or refactored. Direct imports from this path will now result in a `ModuleNotFoundError`.
fix
Update imports to use the correct location for `NoOpTracer` (e.g., `from opentelemetry.sdk.trace import NoOpTracer`) or remove references to the internal `proto` modules.
affects: >=1.40.0
Upgrade
Version history
1.42.1latest on PyPI
Audit
Dependencies
opentelemetry-sdkrequiredProvides necessary SDK components for usage.
Agent activity
43 hits · last 30 days
node
4
ahrefsbot
3
seranking-bot
3
Resources