Skip to content

Use sentry-conduit middleware for error reporting #3988

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

Merged
merged 2 commits into from
Oct 14, 2021

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 7, 2021

The implementation of this crate is largely based on the Sentry middleware code in crates.io and the implementation of sentry-actix. It has several advantages over the implementation that we currently use:

  • Automatic per-request scoping of errors, breadcrumbs and other data
  • Optional release health tracking
  • Reporting of error stack traces, if available
  • transaction field support (aka. the route pattern that was used by conduit-router)

see https://github.com/Turbo87/sentry-conduit

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Oct 7, 2021
@Turbo87 Turbo87 requested review from JohnTitor and 0xPoe October 7, 2021 11:24
@Turbo87 Turbo87 force-pushed the sentry-conduit branch 3 times, most recently from a268a81 to fa6a112 Compare October 12, 2021 18:58
@Turbo87 Turbo87 removed the request for review from 0xPoe October 13, 2021 22:01
This tracks how many sessions ended up with errors vs. how many succeeded per deployed release.
@locks
Copy link
Contributor

locks commented Oct 14, 2021

Nice clean up!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 14, 2021

📌 Commit c6c63f1 has been approved by locks

@bors
Copy link
Contributor

bors commented Oct 14, 2021

⌛ Testing commit c6c63f1 with merge 956ed91...

@bors
Copy link
Contributor

bors commented Oct 14, 2021

☀️ Test successful - checks-actions
Approved by: locks
Pushing 956ed91 to master...

@bors bors merged commit 956ed91 into rust-lang:master Oct 14, 2021
@Turbo87 Turbo87 deleted the sentry-conduit branch October 14, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants