Skip to content

Commit b92074c

Browse files
committed
feat(logger): add ALB correlation ID support
1 parent d62b0a0 commit b92074c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: aws_lambda_powertools/logging/correlation_paths.py

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
API_GATEWAY_REST = "requestContext.requestId"
44
API_GATEWAY_HTTP = API_GATEWAY_REST
5+
ALB = "headers.x-amzn-trace-id"
56
APPSYNC_AUTHORIZER = "requestContext.requestId"
67
APPSYNC_RESOLVER = 'request.headers."x-amzn-trace-id"'
78
APPLICATION_LOAD_BALANCER = 'headers."x-amzn-trace-id"'

0 commit comments

Comments
 (0)