Skip to content

feat: contribute xray lambda propagator #1464

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

Merged
merged 6 commits into from
May 1, 2025

Conversation

yiyuan-he
Copy link
Contributor

@yiyuan-he yiyuan-he commented Apr 1, 2025

What does this pull request do?

Adding functionality to extract trace context in Lambda environments according to OTel propagator spec.

Usage:

require 'opentelemetry/sdk'
require 'opentelemetry/propagator/xray'

# Configure the OpenTelemetry SDK
OpenTelemetry::SDK.configure do |c|
  # Set propagator
  c.propagators = [OpenTelemetry::Propagator::XRay.lambda_text_map_propagator]
  # Other configuration...
end

Test plan

Set up a lambda function with lambda library instrumentation and new xray lambda propagator to verify the context propagation works.

Screenshot 2025-04-02 at 3 42 20 PM

Related Issues

#1462

@yiyuan-he yiyuan-he changed the title feat: contribute xray lambda propagator feat: contribute xray lambda propagator [WIP] Apr 2, 2025
@yiyuan-he yiyuan-he changed the title feat: contribute xray lambda propagator [WIP] feat: contribute xray lambda propagator Apr 2, 2025
Copy link
Contributor

@kaylareopelle kaylareopelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kaylareopelle kaylareopelle merged commit 07d188e into open-telemetry:main May 1, 2025
61 of 62 checks passed
yiyuan-he added a commit to yiyuan-he/opentelemetry-ruby-contrib that referenced this pull request May 14, 2025
Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
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.

2 participants