-
Notifications
You must be signed in to change notification settings - Fork 645
Report errors and slow requests on the backend to Sentry #2961
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The integration code looks good! I think we should make a couple changes to avoid sending sensitive data over to Sentry, and I want to test in staging how it interacts with CloudFront (as it'd be really useful to be able to search events by CloudFront Request ID).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with the nit fixed!
@bors r=pietroalbini |
📌 Commit 29bfde8 has been approved by |
☀️ Test successful - checks-travis |
This PR implements initial Sentry integration for our backend API via https://github.com/getsentry/sentry-rust.
It will automatically report panics to Sentry, as well as internal server errors (unfortunately without stacktrace for now) and slow requests, similar to our current
println!()
logging.r? @pietroalbini