Skip to content

Conversation

@jsumners-nr
Copy link
Contributor

This PR resolves #2189.

@jsumners-nr jsumners-nr marked this pull request as ready for review May 13, 2024 12:14
@jsumners-nr jsumners-nr changed the title fix: Added support of AWS API Gateway v2 payloads fix: Added support for AWS API Gateway v2 payloads May 13, 2024
Comment on lines +30 to +34
"attributes": {
"aws.lambda.eventSource.accountId": "requestContext.accountId",
"aws.lambda.eventSource.apiId": "requestContext.apiId",
"aws.lambda.eventSource.stage": "requestContext.stage"
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"resourceId" and "resourcePath", found in the v1 payload, are not present in v2 payloads.

@jsumners-nr jsumners-nr requested review from bizob2828 and mrickard May 13, 2024 14:06
@mrickard mrickard self-assigned this May 13, 2024
@jsumners-nr jsumners-nr merged commit 0ccdc6a into newrelic:main May 14, 2024
@jsumners-nr jsumners-nr deleted the issue-2189 branch May 14, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Fix parsing of v2 API Gateway headers for Lambda

2 participants