Name | opentelemetry-propagator-ot-trace JSON |
Version |
0.58b0
JSON |
| download |
home_page | None |
Summary | OT Trace Propagator for OpenTelemetry |
upload_time | 2025-09-11 11:43:03 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
OpenTelemetry OT Trace Propagator
=================================
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opentelemetry-propagator-ot-trace.svg
:target: https://pypi.org/project/opentelemetry-propagator-ot-trace/
Installation
------------
::
pip install opentelemetry-propagator-ot-trace
.. _OpenTelemetry: https://github.com/open-telemetry/opentelemetry-python/
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.
.. _this: https://github.com/opentracing/basictracer-python/blob/master/basictracer/text_propagator.py
===================== ======================================================================================================================================= =====================
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
----------
* `OpenTelemetry Project <https://opentelemetry.io/>`_
Raw data
{
"_id": null,
"home_page": null,
"name": "opentelemetry-propagator-ot-trace",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>",
"download_url": "https://files.pythonhosted.org/packages/ba/36/fdec3974141ae2bd64ee055f3c687bbc2792d409130e8aa9c091f66ae0f2/opentelemetry_propagator_ot_trace-0.58b0.tar.gz",
"platform": null,
"description": "OpenTelemetry OT Trace Propagator\n=================================\n\n|pypi|\n\n.. |pypi| image:: https://badge.fury.io/py/opentelemetry-propagator-ot-trace.svg\n :target: https://pypi.org/project/opentelemetry-propagator-ot-trace/\n\nInstallation\n------------\n\n::\n\n pip install opentelemetry-propagator-ot-trace\n\n.. _OpenTelemetry: https://github.com/open-telemetry/opentelemetry-python/\n\nOTTrace Format\n--------------\n\nSo far there is no \"formal\" specification of the OTTrace format. The best\ndocument that servers this purpose that exists now is this_ implementation.\n\n.. _this: https://github.com/opentracing/basictracer-python/blob/master/basictracer/text_propagator.py\n\n===================== ======================================================================================================================================= =====================\nHeader Name Description Required\n===================== ======================================================================================================================================= =====================\n``ot-tracer-traceid`` uint64 encoded as a string of 16 hex characters yes\n``ot-tracer-spanid`` uint64 encoded as a string of 16 hex characters yes\n``ot-tracer-sampled`` boolean encoded as a string with the values ``true`` or ``false`` no\n``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\n===================== ======================================================================================================================================= =====================\n\nInterop and trace ids\n---------------------\n\nThe OT Trace propagation format expects trace ids to be 64-bits. In order to\ninterop with OpenTelemetry, trace ids need to be truncated to 64-bits before\nsending them on the wire. When truncating, the least significant (right-most)\nbits MUST be retained. For example, a trace id of\n``3c3039f4d78d5c02ee8e3e41b17ce105`` would be truncated to\n``ee8e3e41b17ce105``.\n\nReferences\n----------\n\n* `OpenTelemetry Project <https://opentelemetry.io/>`_\n",
"bugtrack_url": null,
"license": null,
"summary": "OT Trace Propagator for OpenTelemetry",
"version": "0.58b0",
"project_urls": {
"Homepage": "https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/propagator/opentelemetry-propagator-ot-trace",
"Repository": "https://github.com/open-telemetry/opentelemetry-python-contrib"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a0966fd9a6150c2bcf1ccd1564de5441e626e02fc0faf74ab54367eb536d6433",
"md5": "ebf59a0984e76e1329475a94b6722050",
"sha256": "9caccbde0805ed991c5696538e28a8b87545da19faae803ad13d33c1ce756e1f"
},
"downloads": -1,
"filename": "opentelemetry_propagator_ot_trace-0.58b0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ebf59a0984e76e1329475a94b6722050",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 4765,
"upload_time": "2025-09-11T11:42:07",
"upload_time_iso_8601": "2025-09-11T11:42:07.687311Z",
"url": "https://files.pythonhosted.org/packages/a0/96/6fd9a6150c2bcf1ccd1564de5441e626e02fc0faf74ab54367eb536d6433/opentelemetry_propagator_ot_trace-0.58b0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "ba36fdec3974141ae2bd64ee055f3c687bbc2792d409130e8aa9c091f66ae0f2",
"md5": "3b40debd8edde12ed6c8f3dcaed9c7ab",
"sha256": "e97a9bcad730e22a04798ed8cae293cb4966615c8100c8b6987ad27af69d4517"
},
"downloads": -1,
"filename": "opentelemetry_propagator_ot_trace-0.58b0.tar.gz",
"has_sig": false,
"md5_digest": "3b40debd8edde12ed6c8f3dcaed9c7ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5014,
"upload_time": "2025-09-11T11:43:03",
"upload_time_iso_8601": "2025-09-11T11:43:03.829035Z",
"url": "https://files.pythonhosted.org/packages/ba/36/fdec3974141ae2bd64ee055f3c687bbc2792d409130e8aa9c091f66ae0f2/opentelemetry_propagator_ot_trace-0.58b0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-11 11:43:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "open-telemetry",
"github_project": "opentelemetry-python-contrib",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "opentelemetry-propagator-ot-trace"
}