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

Mute rollbar routing error warnings #2219

Merged
merged 4 commits into from
Jan 30, 2024
Merged

Conversation

r-ferrier
Copy link
Contributor

@r-ferrier r-ferrier commented Jan 30, 2024

Fixes #1666

Description

We're still logging tonnes of routing error warnings every month which is causing us to burn through our rollbar allowance in a few days.

The previous solution was only firing for specific 'bad' routes, but every route that ends in a 404 is a bad route and we're getting such a wide variety of them through that for now, just muting all of them is more useful to our error logging than trying to pick and choose which we care about.

As an example, here are all the errors that were logged this morning:

Screenshot 2024-01-30 at 14 18 34

We should probably also look at serving a 404 page/ rerouting to home instead of just raising this error! (#759)

Copy link
Contributor

@ivan-kocienski-gfsc ivan-kocienski-gfsc left a comment

Choose a reason for hiding this comment

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

Looks good to me. Hopefully rollbar calms down now and can become more useful

@r-ferrier r-ferrier merged commit 8cdc6c3 into main Jan 30, 2024
2 checks passed
@r-ferrier r-ferrier deleted the fix/1666-mute-rollbar-warnings branch January 30, 2024 15:55
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.

DB timeout on production (via Rollbar)
2 participants