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

Lambda instrumentations should check if X-Ray parent context is valid #1867

Merged

Conversation

NathanielRN
Copy link
Contributor

Changes

The behavior of Lambda requires that we check that the context IsValid in addition to checking if it sampled. We update the specs to reflect that.

Also changed the wording in the API Gateway section so that we know that the attributes are set in both the "as a pure proxy" and "as a configuration for a REST API" setups of API Gateway.

@NathanielRN NathanielRN requested review from a team August 13, 2021 17:14
@NathanielRN
Copy link
Contributor Author

@anuraaga would appreciate your review on this PR!

@carlosalberto
Copy link
Contributor

@NathanielRN Maybe this is enough of a change to deserve a CHANGELOG? Or think it's not really needed for this change?

@NathanielRN NathanielRN changed the title Update X-Ray context parenting on Lambda Lambda instrumentations should check if X-Ray parent context is valid Aug 16, 2021
@NathanielRN
Copy link
Contributor Author

@carlosalberto Originally I didn't think it was necessary, but I guess it's safer to add it so that devs instrumenting Lambda know that they have an action item to do 😄 I've added a CHANGELOG entry!

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.

4 participants