-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(serverless/awslambda/captureAllSettledReasons) : Build specific context for each captured promises #6492
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
Conversation
…context for each captured promises - Following getsentry#4130 # Description It can be very interesting to build a specific context depending on the error. And especially in my case, the index. This allows to find the corresponding SQSRecord, and to design tags from the body. This increases greatly the debugging capacity, and filtering at the sentry interface level.
…ntation : Build specific context for each captured promises - Related MR : getsentry/sentry-javascript#6492
Hey @J4YF7O. We want to be careful when expanding the public API. What's the advantage of this being an option over you being able to create this yourself with a |
Hey @AbhiPrasad , I make a diagram to explain "what's wrong". In a system of lambda + sqs But unfortunately, there is no context related to the I have to search in the logs every time. But as I batch 1000 messages, it's very complicated to go up all the "log tree" of each promise. I tried with |
This pull request has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
yarn lint
) & (yarn test
).Description
It can be very interesting to build a specific context depending on the error. And especially in my case, the index. This allows to find the corresponding SQSRecord, and to design tags from the body. This increases greatly the debugging capacity, and filtering at the sentry interface level.