Jaeger (tcp) client for AsyncIO
Client-side library that can be used for distributed trace collection from Python apps via TCP (HTTP) to Jaeger.
See the OpenTracing Python API for additional detail.
Installation
pip3 install async-jaeger
Debug Traces (Forced Sampling)
Programmatically
The OpenTracing API defines a sampling.priority standard tag that can be used to affect the sampling of a span and its children:
from opentracing.ext import tags as ext_tags
span.set_tag(ext_tags.SAMPLING_PRIORITY, 1)
Via HTTP Headers
Jaeger Tracer also understands a special HTTP Header jaeger-debug-id, which can be set in the incoming request, e.g.
curl -H "jaeger-debug-id: some-correlation-id" http://myhost.com
When Jaeger sees this header in the request that otherwise has no tracing context, it ensures that the new trace started for this request will be sampled in the “debug” mode (meaning it should survive all downsampling that might happen in the collection pipeline), and the root span will have a tag as if this statement was executed:
span.set_tag('jaeger-debug-id', 'some-correlation-id')
This allows using Jaeger UI to find the trace by this tag.
License
Metadata
Release files for async-jaeger 0.0.13
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 |
|---|---|---|---|---|
| async-jaeger-0.0.13.tar.gz | 43.8 kB | Without provenance | Details for async-jaeger-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| async_jaeger-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for async_jaeger-0.0.13-py3-none-any.whl |
Total release size: 74.4 kB
Release files / async-jaeger-0.0.13.tar.gz
| Download URL | async-jaeger-0.0.13.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bf022922d508a803bd3551bb4705b2fd6377993239d2f09d22686e40a111162
|
|
BLAKE2b-256 checksum How to use checksums |
9d6726ed8cab8d5b605d85b14afc7686033673397363c8dde1cb5a38b99b3adf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / async_jaeger-0.0.13-py3-none-any.whl
| Download URL | async_jaeger-0.0.13-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f20202878907e647e25e579b6090ac6c364757e596fa7434bfe64c5ede419f7
|
|
BLAKE2b-256 checksum How to use checksums |
5873469e249fd21e9ac6a7fc2ad9c548d34dd71747fd90e1af9b8e41a1621e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for async-jaeger 0.0.13
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.