$npx skillfedfor your agent

opentelemetry-propagator-ot-trace

OT Trace Propagator for OpenTelemetry

With conditionsPyPI MonitoringReleased Jul 20263.0M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

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

Yes, if your system requires OT Trace format propagation for interoperability with legacy or third-party services. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and supports current Python versions (3.10 through 3.14). However, if you are building new distributed systems, consider whether alternative trace context standards would be more appropriate.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10; opentelemetry-api and opentelemetry-sdk must be installed as runtime dependencies.
  • Low friction: pure Python wheel with only two runtime dependencies (opentelemetry-api and opentelemetry-sdk).
  • Actively maintained as of 2026-08-14 with recent releases; repo is not archived and receives ongoing commits.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions on derivative works or redistribution.

last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,047,087 downloads/mo, #2,774 on PyPI

Verify before relying

pip install opentelemetry-propagator-ot-trace

from opentelemetry.propagators.ot_trace import OTTracePropagator
from opentelemetry.propagators import set_global_textmap

set_global_textmap(OTTracePropagator())
  • Whether the OT Trace format specification remains stable or is expected to evolve given the note that no formal specification currently exists.
  • Performance characteristics when propagating baggage with many key-value pairs across high-volume trace contexts.
  • Interoperability testing results with non-OpenTelemetry systems using the OT Trace format.
  • How OpenTelemetry's trace IDs are truncated to 64-bit format and whether this truncation preserves trace identity.
Same gist for agents: .md · .json

What it is and what it does

This package implements a trace context propagator for OpenTelemetry that follows the OT Trace format, a lightweight header-based protocol for passing distributed trace information across service boundaries. It handles serialization of trace IDs, span IDs, sampling decisions, and baggage key-value pairs into HTTP headers, and deserializes them on the receiving end to reconstruct trace context.

The propagator integrates with OpenTelemetry's instrumentation ecosystem and is designed for systems that need to interoperate with services using the OT Trace format. Trace IDs are truncated to 64-bits before sending on the wire, retaining the least significant bits to preserve trace identity across format boundaries.

Use it for

  • Propagate trace context in microservices that use the OT Trace format instead of other trace context standards.
  • Enable distributed tracing in legacy systems or third-party services that expect ot-tracer-traceid and ot-tracer-spanid headers.
  • Pass baggage metadata (ot-baggage-* headers) alongside trace context for correlation and context propagation.
  • Integrate OpenTelemetry instrumentation with existing systems compatible with the OT Trace format.

Worth the install?

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

With conditions

Yes, if your system requires OT Trace format propagation for interoperability with legacy or third-party services.

The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and supports current Python versions (3.10 through 3.14). However, if you are building new distributed systems, consider whether alternative trace context standards would be more appropriate.

Install

opentelemetry-propagator-ot-trace on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (opentelemetry-api and opentelemetry-sdk). Actively maintained as of 2026-08-14 with recent releases; repo is not archived and receives ongoing commits.

Requires Python >=3.10; opentelemetry-api and opentelemetry-sdk must be installed as runtime dependencies.

License in practice

Apache-2.0 permissive license allows use in most commercial and open-source projects without significant restrictions on derivative works or redistribution.

Quickstart

pip install opentelemetry-propagator-ot-trace

from opentelemetry.propagators.ot_trace import OTTracePropagator
from opentelemetry.propagators import set_global_textmap

set_global_textmap(OTTracePropagator())

Verify before relying

  • Whether the OT Trace format specification remains stable or is expected to evolve given the note that no formal specification currently exists.
  • Performance characteristics when propagating baggage with many key-value pairs across high-volume trace contexts.
  • Interoperability testing results with non-OpenTelemetry systems using the OT Trace format.
  • How OpenTelemetry's trace IDs are truncated to 64-bit format and whether this truncation preserves trace identity.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
opentelemetry-apiopentelemetry-sdk
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads3,047,087 / month, #2,774 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming 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_propagator_ot_trace-0.65b0-py3-none-any.whl

Tags

Capabilities
opentelemetry trace propagationot trace format propagatordistributed tracing contexttrace id span id propagationopentelemetry baggage headershttp trace context serialization
Topics
distributed-tracingopentelemetryobservability

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 › “ot trace format propagator”

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-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / 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

See also opentelemetry-processor-baggage · opentelemetry-propagator-b3 · opentelemetry-propagator-jaeger · opentelemetry-propagator-aws-xray · opentelemetry-propagator-gcp · opentelemetry-instrumentation-django · opentracing · opentelemetry-instrumentation-boto · opentelemetry-exporter-zipkin-proto-http · opentelemetry-instrumentation-threading