We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The logging module checks for the presence of the XRay Trace ID, and if present, the logging module appends it in the logs.
However with Java 17 runtimes the logic used to extract the Trace ID from the _X_AMZN_TRACE_ID no longer works.
_X_AMZN_TRACE_ID
There was a change in the aws-lambda-java-libs that moved the Trace ID to a system property.
What were you trying to accomplish?
When Tracing is enabled on a Lambda function, xray_trace_id should be automatically appended in the logs
xray_trace_id
With the Java 17 Lambda-provided runtime, the xray_trace_id does not appear in the logs
Modify the logic used to derive the Trace ID from System Property, when the Env Var is null
null
The text was updated successfully, but these errors were encountered:
This is now released under 1.18.0 version!
Sorry, something went wrong.
mriccia
No branches or pull requests
The logging module checks for the presence of the XRay Trace ID, and if present, the logging module appends it in the logs.
However with Java 17 runtimes the logic used to extract the Trace ID from the
_X_AMZN_TRACE_ID
no longer works.There was a change in the aws-lambda-java-libs that moved the Trace ID to a system property.
What were you trying to accomplish?
Expected Behavior
When Tracing is enabled on a Lambda function,
xray_trace_id
should be automatically appended in the logsCurrent Behavior
With the Java 17 Lambda-provided runtime, the
xray_trace_id
does not appear in the logsPossible Solution
Modify the logic used to derive the Trace ID from System Property, when the Env Var is
null
The text was updated successfully, but these errors were encountered: