Skip to content
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

Add Puma::HttpParserError to excluded exceptions #292

Merged
merged 2 commits into from
May 10, 2023
Merged

Conversation

BeckaL
Copy link
Contributor

@BeckaL BeckaL commented May 9, 2023

Add HttpParserError to excluded exceptions

Sentry ruby 5.9 ensured that low level puma errors were captured and propagated to sentry. This ended up in a lot of noise [1] in sentry when applications were bumped to this version of sentry ruby, particularly with Puma::HttpParser errors.

These errors are often unactionable and we believe a result of crawler activity. This suppresses these errors in order to reduce sentry noise.

1: https://govuk.sentry.io/issues/4154286086/?project=202217

BeckaL added 2 commits May 9, 2023 18:00
Sentry ruby 5.9 ensured that low level puma errors were captured [1] and propagated to sentry. This ended up in a lot of noise [2] in sentry when applications were bumped to this version of sentry ruby, particularly with Puma::HttpParser errors.

These errors are often unactionable and we believe a result of crawler activity. This suppresses these errors in order to reduce sentry noise.

1: getsentry/sentry-ruby#2026
2: https://govuk.sentry.io/issues/4154286086/?project=202217
Copy link
Contributor

@sihugh sihugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These do look like they're being generated as a result of crawlers or scanners and not legitimate user activity. There's no evidence of these errors in our inter-app communication

@BeckaL BeckaL merged commit e7eba52 into main May 10, 2023
@BeckaL BeckaL deleted the add-error-to-ignored branch May 10, 2023 08:12
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.

3 participants