-
Notifications
You must be signed in to change notification settings - Fork 5
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
Propagate X-Ray tracing header #5
Comments
@Morras should be fixed in 2.2.0 release. Please let me know if that fixes your issue. |
Thank you so much for looking at this @mfriesen . Unfortunately it does not work. The X-Ray SDK is reading the value from the environment variables and not the system properties. Unfortunately there does not appear to be an easy way of changing environment variables at runtime from Java. |
Hopefully this PR will get merged and the issue should be solved. aws/aws-xray-sdk-java#251 |
Waiting on aws/aws-xray-sdk-java#251 to be released. This should be fixed for aws-xray-sdk-java > 2.8.0 |
We are running a fork of the next version of aws-xray-sdk-java to get this functionality, and I can confirm that this works with that version. |
According to the custom runtime documentation, the processing task should
Without the
_X_AMZN_TRACE_ID
the X-Ray SDK cannot create subsegments which essentially means X-Ray cannot be used with Lambda functions running with this graalvm runtime.The text was updated successfully, but these errors were encountered: