Skip to content

[ENG-12121] Feature/less sentry - #504

Merged
felliott merged 3 commits into
developfrom
feature/less-sentry
Oct 1, 2026
Merged

felliott merged 3 commits into
developfrom
feature/less-sentry

Conversation

@felliott

@felliott felliott commented Oct 1, 2026

Copy link
Copy Markdown
Member

Ticket

https://openscience.atlassian.net/browse/ENG-12121

Purpose

Reduce the number of errors we are logging to sentry.

Changes

In our error-handler, add an enable_sentry_log flag that defaults to True. Then for certain types of errors (info-level, a percentage of AuthErrors) flip that flag.

Side effects

None expected.

QA Notes

Dev tested. I put it up on a test env and been keeping an eye on the sentry logs.

Deployment Notes

There is a flag in the server settings AUTH_ERROR_LOG_PERIOD that defaults to 100. Changing this to $foo will cause 1 in $foo AuthErrors to be logged.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 84.645% (+0.002%) from 84.643% — feature/less-sentry into develop

@felliott
felliott requested a review from brianjgeiger October 1, 2026 14:30
@felliott
felliott merged commit ab7bafd into develop Oct 1, 2026
4 checks passed
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