AWS X-Ray Trace id from the lambda RIC async context or the _X_AMZN_TRACE_ID environment variable.
_X_AMZN_TRACE_ID
Checks the async context first and if that returns undefined, falls back to the environment variable
The AWS X-Ray Trace data has this format: Root=1-5759e988-bd862e3fe1be46a994272793;Parent=557abcec3ee5a047;Sampled=1,
Root=1-5759e988-bd862e3fe1be46a994272793;Parent=557abcec3ee5a047;Sampled=1
The actual Trace ID is: 1-5759e988-bd862e3fe1be46a994272793.
1-5759e988-bd862e3fe1be46a994272793
AWS X-Ray Trace id from the lambda RIC async context or the
_X_AMZN_TRACE_IDenvironment variable.Checks the async context first and if that returns undefined, falls back to the environment variable
The AWS X-Ray Trace data has this format:
Root=1-5759e988-bd862e3fe1be46a994272793;Parent=557abcec3ee5a047;Sampled=1,The actual Trace ID is:
1-5759e988-bd862e3fe1be46a994272793.