Skip to content

Commit d7cc82a

Browse files
committed
chore: update doc reference to env var for xray
1 parent 6eb90d2 commit d7cc82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ By default, the following event data is tracked for each log statement.
105105
| apiRequestId | context.requestContext.requestId | The API Gateway RequestId |
106106
| x-correlation-id | event.headers['x-correlation-id'] | The upstream request id for tracing |
107107
| x-correlation-trace-debug | event.headers['x-correlation-debug'] | The upstream service wants debug logs enabled for this request |
108-
| x-correlation-trace-id | process.env._X_AMZN_TRACE_ID_ | The AWS Xray tracking id |
108+
| x-correlation-trace-id | process.env._X_AMZN_TRACE_ID | The AWS Xray tracking id |
109109
| x-correlation-\* | event.headers.startsWith('x-correlation-') | Any header that starts with `x-correlation-` will be automatically added |
110110

111111
Every AWS Lambda request contains a unique request ID, `context.awsRequestId`. If the request originated outside of the AWS platform,

0 commit comments

Comments
 (0)