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


Download files

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

Source Distribution

Built Distribution

File details

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

File metadata

File hashes

Hashes for opentelemetry_propagator_ot_trace-0.40b0.tar.gz
Algorithm Hash digest
SHA256 a22b4122ae703667639b71b9b246169032ba5c2bcacfa5b9a979cb476036144a
MD5 ce7f59ba9b926e7a99542dd9e82e51d3
BLAKE2b-256 36ca3cfd666f2ed51814efeed00a2eb39c0a1521b8dee7092b298a354ab7bd8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opentelemetry_propagator_ot_trace-0.40b0-py3-none-any.whl
Algorithm Hash digest
SHA256 47ad7d20252a19bd478b2cbac9c0d60ad68a40e32c8d99d5908821d0b0bf491c
MD5 54742e8e2f04f5e3062b3784f509796f
BLAKE2b-256 7c8a988b973f6f42c6490ee97f733ce3085b33554779c953f72abb10e60139c3

See more details on using hashes here.

Supported by

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