Get the AWS X-Ray Trace data 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 method parses the value and returns an object with the key-value pairs.
Get the AWS X-Ray Trace data 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 method parses the value and returns an object with the key-value pairs.