This library provides the propagator necessary to inject or extract a tracing context across AWS services.
Installation
pip install opentelemetry-propagator-aws-xray
Usage (AWS X-Ray Propagator)
NOTE: Because the parent context extracted from the X-Amzn-Trace-Id header assumes the context is _not_ sampled by default, users should make sure to add Sampled=1 to their X-Amzn-Trace-Id headers so that the child spans are sampled.
Use the provided AWS X-Ray Propagator to inject the necessary context into traces sent to external systems.
This can be done by either setting this environment variable:
export OTEL_PROPAGATORS = xray
Or by setting this propagator in your instrumented application:
from opentelemetry.propagate import set_global_textmap
from opentelemetry.propagators.aws import AwsXRayPropagator
set_global_textmap(AwsXRayPropagator())
References
Release files for opentelemetry-propagator-aws-xray 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_propagator_aws_xray-1.0.2.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_propagator_aws_xray-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / opentelemetry_propagator_aws_xray-1.0.2.tar.gz
| Download URL | opentelemetry_propagator_aws_xray-1.0.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b2cee5479d2ef0172307b66ed2ed151f598a0fd29b3c01133ac87ca06326260
|
|
BLAKE2b-256 checksum How to use checksums |
f43140004e9e55b1e5694ef3a7526f0b7637df44196fc68a8b7d248a3684680f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / opentelemetry_propagator_aws_xray-1.0.2-py3-none-any.whl
| Download URL | opentelemetry_propagator_aws_xray-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c99181ee228e99bddb638a0c911a297fa21f1c3a0af951f841e79919b5f1934
|
|
BLAKE2b-256 checksum How to use checksums |
ea89849a0847871fd9745315896ad9e23d6479db84d90b8b36c4c26dc46e92b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|