Skip to main content

OT Trace Propagator for OpenTelemetry

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentelemetry_propagator_ot_trace-0.62b0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file opentelemetry_propagator_ot_trace-0.62b0.tar.gz.

File metadata

File hashes

Hashes for opentelemetry_propagator_ot_trace-0.62b0.tar.gz
Algorithm Hash digest
SHA256 03e6b1d37b1576bd31b519cb500f14359371babc6e7d40b596c0a4ecd99c9986
MD5 73d6287c7d169a621bdffc7d75f29ca4
BLAKE2b-256 096fffe764ac48aa3dac7572bfc3f5874a0aa3a8bfb0427d46206e62450e3fd7

See more details on using hashes here.

File details

Details for the file opentelemetry_propagator_ot_trace-0.62b0-py3-none-any.whl.

File metadata

File hashes

Hashes for opentelemetry_propagator_ot_trace-0.62b0-py3-none-any.whl
Algorithm Hash digest
SHA256 0343d9fcbd08c54e44229fce55d23957f4f6e513812ad77222c0f2fcf3b9dea5
MD5 52b047885559d07b8be8aed0c85d518b
BLAKE2b-256 3f2a0cc76cbf47b138581f235079f38e0faede0d696c875789f28e283518fed4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page