This release is a pre-release and may not be stable for production use.
OpenTelemetry OT Trace Propagator
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
Metadata
Release files for opentelemetry-propagator-ot-trace 0.66b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opentelemetry_propagator_ot_trace-0.66b1.tar.gz | 7.0 kB | Without provenance | Details for opentelemetry_propagator_ot_trace-0.66b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opentelemetry_propagator_ot_trace-0.66b1-py3-none-any.whl | Python 3 | none | any | Details for opentelemetry_propagator_ot_trace-0.66b1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / opentelemetry_propagator_ot_trace-0.66b1.tar.gz
| Download URL | opentelemetry_propagator_ot_trace-0.66b1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9891354966cf8941c85b90d483f52d6f79e5b9c27145eee2082c8767924f6eb
|
|
BLAKE2b-256 checksum How to use checksums |
5bac0cf788f364b01194315b87fe86a0dbfc2d962960083360294e88b130c02e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Release files / opentelemetry_propagator_ot_trace-0.66b1-py3-none-any.whl
| Download URL | opentelemetry_propagator_ot_trace-0.66b1-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0217b23e344f16b76cfcc9f0cea729e205ff4323d564a70d350f688f50c34370
|
|
BLAKE2b-256 checksum How to use checksums |
0c9ab66ac5db3ad3b4e7d2ee3e261210e59d663e483e2b9884052b7181910863
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Security for opentelemetry-propagator-ot-trace 0.66b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.