@opentelemetry/propagator-aws-xray-lambda
v0.53.0
Published
OpenTelemetry AWS Xray propagator provides context propagation for systems that are using AWS X-Ray format.
Downloads
103,054
Readme
OpenTelemetry Propagator AWS X-Ray-Lambda
Note: This is an experimental package under active development. New releases may include breaking changes.
The OpenTelemetry Propagator for AWS X-Ray Lambda provides propagation based on the X-Ray _X_AMZN_TRACE_ID
environment
variable in addition to the AWS X-Ray HTTP headers. This propagator should be used only for an AWS Lambda instrumentation.
Usage
The preferred method for using this propagator is by using the OTEL_PROPAGATORS
environment variable. For more details,
see the semantic conventions specification for AWS Lambda.
Propagator Details
The propagator extracts context from the _X_AMZN_TRACE_ID
environment variable, except when there is already another
context active. It also automatically uses the AWS X-Ray propagator.
Useful links
- For more information on OpenTelemetry, visit: https://opentelemetry.io/
- For more about OpenTelemetry JavaScript: https://github.com/open-telemetry/opentelemetry-js
- For help or feedback on this project, join us in GitHub Discussions
License
Apache 2.0 - See LICENSE for more information.