Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default Propagators list and bash script flags #1226

Merged

Conversation

tylerbenson
Copy link
Member

We want the default propagators to include both w3c context and xray, so set OTEL_PROPAGATORS=tracecontext,baggage,xray if it isn't already set to something else.

Users (of tracer layers that have implemented xray-lambda) that send traces to X-Ray, especially if they enable Active Tracing, should override this value to OTEL_PROPAGATORS=tracecontext,baggage,xray-lambda to ensure proper span relationships within X-Ray.

I also added some common bash flags to align with industry standard practice.

@tylerbenson tylerbenson requested a review from a team as a code owner March 26, 2024 15:31
We want the default propagators to include both w3c context and xray, so set `OTEL_PROPAGATORS=tracecontext,baggage,xray` if it isn't already set to something else.
Users that send traces to X-Ray, especially if they enable Active Tracing, should override this value to `OTEL_PROPAGATORS=tracecontext,baggage,xray-lambda` to ensure proper span relationships.

I also added some common bash flags to align with industry standard practice.
@tylerbenson tylerbenson merged commit 039caa5 into open-telemetry:main Mar 26, 2024
15 checks passed
@tylerbenson tylerbenson deleted the tyler/propagator-defaults branch March 26, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants