Skip to content

Add AWS X-Ray Lambda Propagation Logic #1462

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

Open
jj22ee opened this issue Mar 31, 2025 · 2 comments
Open

Add AWS X-Ray Lambda Propagation Logic #1462

jj22ee opened this issue Mar 31, 2025 · 2 comments
Labels
fix help wanted Extra attention is needed keep Ensures stale-bot keeps this issue/PR open propagator: aws:xray

Comments

@jj22ee
Copy link
Contributor

jj22ee commented Mar 31, 2025

xray-lambda propagation functionality is described in: https://opentelemetry.io/docs/specs/semconv/faas/aws-lambda/#xray-lambda-propagator-functionality

The existing OTel Ruby AWS Lambda Instrumentation currently cannot extract the trace context contained in Lambda's _X_AMZN_TRACE_ID Environment Variable. This is needed to link the AWS Lambda Span to the Traces generated by Lambda Service.

The xray-lambda propagation logic exists in some other OTel languages, but have different implementation locations:

  • xray-lambda logic is in aws_lambda (Golang, .NET)
  • xray-lambda logic is in its own package (Node.js)
  • xray-lambda logic is part of AWS XRay Propagator (Java, Python)

I think it should be okay to follow the third case, where the xray-lambda propagator is part of the xray propagator package.

@yiyuan-he
Copy link
Contributor

Thanks @jj22ee. I'll start looking into this.

Copy link
Contributor

github-actions bot commented May 1, 2025

👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.

@github-actions github-actions bot added the stale Marks an issue/PR stale label May 1, 2025
@arielvalentin arielvalentin added help wanted Extra attention is needed keep Ensures stale-bot keeps this issue/PR open fix id-generator: aws:xray propagator: aws:xray and removed stale Marks an issue/PR stale id-generator: aws:xray labels May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix help wanted Extra attention is needed keep Ensures stale-bot keeps this issue/PR open propagator: aws:xray
Projects
None yet
Development

No branches or pull requests

3 participants