Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 26, 2020

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

Copy link
Member

@pietroalbini pietroalbini left a 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).

Copy link
Member

@pietroalbini pietroalbini left a 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!

@Turbo87
Copy link
Member Author

Turbo87 commented Oct 26, 2020

@bors r=pietroalbini

@bors
Copy link
Contributor

bors commented Oct 26, 2020

📌 Commit 29bfde8 has been approved by pietroalbini

@bors
Copy link
Contributor

bors commented Oct 26, 2020

⌛ Testing commit 29bfde8 with merge d2950fa...

@bors
Copy link
Contributor

bors commented Oct 26, 2020

☀️ Test successful - checks-travis
Approved by: pietroalbini
Pushing d2950fa to master...

@bors bors merged commit d2950fa into rust-lang:master Oct 26, 2020
@Turbo87 Turbo87 deleted the backend-sentry branch October 26, 2020 12:24
@bors bors mentioned this pull request Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants