-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issue titles from errors captured with @sentry/aws-serverless
differ from @sentry/node
#15788
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
Comments
@rowbot-weisguy The That's the reason why the naming is different to the |
@s1gr1d thanks for creating a new issue for me. That's correct, the transaction names are using our lambda's name. Is it possible to have it use the request path instead? |
You can change the transaction name based on what is documented here: https://docs.sentry.io/platforms/javascript/guides/aws-lambda/enriching-events/transaction-name/ Does that work for your case? |
This issue 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 remove the label "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Hi @s1gr1d, sorry for the long delay on this issue! I can finally report back. Up front: using I tried manually setting the transaction / span names in a middleware function to look more like our routes and although it's not perfect, it did help! I can click into a trace and see the title reflects the route name and an option to "View Summary" of aggregates based on the route name (which looks like However, the issue list still shows the function name when I wish it showed the route: Ultimately my hope is to see
PS. I did find an interesting |
Description
Originally posted in this comment by @rowbot-weisguy
The text was updated successfully, but these errors were encountered: