Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OpenTelemetry OT Trace Propagator

pypi

Installation

pip install opentelemetry-propagator-ot-trace

OTTrace Format

So far there is no “formal” specification of the OTTrace format. The best document that servers this purpose that exists now is this implementation.

Header Name

Description

Required

ot-tracer-traceid

uint64 encoded as a string of 16 hex characters

yes

ot-tracer-spanid

uint64 encoded as a string of 16 hex characters

yes

ot-tracer-sampled

boolean encoded as a string with the values true or false

no

ot-baggage-*

repeated string to string key-value baggage items; keys are prefixed with ot-baggage- and the corresponding value is the raw string

if baggage is present

Interop and trace ids

The OT Trace propagation format expects trace ids to be 64-bits. In order to interop with OpenTelemetry, trace ids need to be truncated to 64-bits before sending them on the wire. When truncating, the least significant (right-most) bits MUST be retained. For example, a trace id of 3c3039f4d78d5c02ee8e3e41b17ce105 would be truncated to ee8e3e41b17ce105.

References

Release files for opentelemetry-propagator-ot-trace 0.66b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-propagator-ot-trace 0.66b0
File Size Uploaded
opentelemetry_propagator_ot_trace-0.66b0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-propagator-ot-trace 0.66b0
File Interpreter ABI Platform
opentelemetry_propagator_ot_trace-0.66b0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / opentelemetry_propagator_ot_trace-0.66b0.tar.gz

Download URL opentelemetry_propagator_ot_trace-0.66b0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e4d9bd68bbe7653edd015364d186b20ee8ebbe458a6f42e90cb360aca038e5f0
BLAKE2b-256 checksum
How to use checksums
57bbd2495453b3d69481bf2419930129c87b7b1cd6305208b1a4b4a1e2c3264f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / opentelemetry_propagator_ot_trace-0.66b0-py3-none-any.whl

Download URL opentelemetry_propagator_ot_trace-0.66b0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
667bf7cd46b5709ad7d7cb55b294264c5a13f60233a74218279083109f49d7a8
BLAKE2b-256 checksum
How to use checksums
3c349684ed611de063a7d91d4fa91ddcc6de274221f11bcf3f5282449ada8b03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

This release

0.66b0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page