-
Notifications
You must be signed in to change notification settings - Fork 913
Description
The AWS lambda spec recently introduced a new xray-lambda propagator to support AWS Lambda's Active Tracing. This requires not only implementing the new propagator, but also making it possible to configure propagators and their order using the OTEL_PROPAGATORS env variable.
The env variable currently supports only the tracecontext
and baggage
propagators.
The approach to make this work for 3rd-party propagators has been discussed in the SIG on 1/31/24, and it has been decided to move all propagators from contrib to the core repo and add them to the BasicTracerProvider lookup. In order to support all known propagators (including xray
and xray-lambda
) in the OTEL_PROPAGATORS environment variable, we have introduced the auto-configuration-propagators package.
Here is a list of tasks to implement this:
- move the existing xray propagator from contrib to this repository (Move xray propagator from contrib (no history) #4603)
- remove xray propagator from contrib (refactor(propagator-aws-xray): Remove Xray propagator package opentelemetry-js-contrib#2106)
- implement the new xray-lambda propagator (add AWS X-Ray Lambda propagator #4554)
- add
xray
to OTEL_PROPAGATORS env variable accepted values (feat(sdk-trace-node): support xray propagator #4602) -
addxray-lambda
to OTEL_PROPAGATORS env variable accepted values (feat(sdk-trace-node): add env mapping for xray-lambda propagator #4685) - add metapackage for configuring propagators (feat: Add package for automatic propagator configuration opentelemetry-js-contrib#2299)
- update Lambda instrumentation to always use global propagator (feat(aws-lambda)!: Remove explicit x-ray context in favor of global propagator opentelemetry-js-contrib#2369)
- update Lambda layer to use the auto-configuration-propagators package.