-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS Lambda Integration Not Logging Payload #4011
Comments
Hi @paulthorburn, could you please provide more details on how to reproduce this issue? In its current state, the issue is not actionable. Specifically, we need more detail about the following:
Please provide the code snippet you are using for the Lambda function. Additionally, please explain what you mean by "Send events from different sources," since it is unclear what kind of "events" you are sending, to where you are sending them, and what the "different sources" are. A step-by-step description of what you are doing would help the most. |
Hey @szokeasaurusrex, thanks for looking into this i raised this issue for 2 reasons
For the 2nd reason I had provided 2 examples Test 4 and Test 5 above which high level steps on how to setup the integration
The actual lambda code is irrelevant its the event that is passed to the lambda that I am interested in capturing. Currently only API Gateway events are being captured and that is broken as i mentioned in point 1. Cheers, |
Hey @paulthorburn, thanks for conducting the tests and documenting them. Couple stupid questions just to cover the bases: you do have the It seems there are two problems here, either the body is not included at all, or it's set to In the empty string case, it looks like we're hitting this line when trying to capture the request body (at least in the I'll put this in our backlog, but can't realistically promise you when we'll get to look at it since our plates are currently pretty full. |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.20.0
Steps to Reproduce
According to this document https://docs.sentry.io/platforms/python/integrations/aws-lambda/manual-instrumentation/
but i have run several tests and the payload is not being caputred
Overview:
Step 1 - Create a Lambda Function
Step 2 - Send events from different sources
TEST 1: AWS Console
TEST 2: API Gateway
TEST 3: Lambda Function URL
Test 4: S3 Event Notification
Test 5: Event Bridge Notifications
Expected Result
JSON Body\payload of the events in sentry console
Actual Result
JSON Body\payload of the events is missing in sentry console
The text was updated successfully, but these errors were encountered: