What this thread does
The problem
Sentry is installed, and within a day the inbox or Slack channel is full: the same browser quirk, extension errors, a flaky third-party script, a regression alert every time an old issue wakes up. People mute the channel and miss the real outage.
Two levers, from Sentry's own docs
1. Stop sending events nobody can act on (filtering):
ignoreErrors: strings (partial match) or regexes against the message. Use a regex for exact matches.denyUrls/allowUrls: the docs sayallowUrlsworks on the URLs in stack frames, not the page URL, and avoids errors from other domains;denyUrlsis described as blocking errors created on specific URLs, so test it before assuming it behaves the same way.beforeSend: returnnullto drop an event;hint.originalExceptionhelps custom grouping.- Project-level inbound filters include a known browser-extensions filter; the docs prefer client-side filtering because the event is never sent.
thirdPartyErrorFilterIntegrationcan drop or tag errors whose frames are third-party code; it needs a bundler plugin with anapplicationKeyand does not work with the Loader Script or CDN bundles.- The page has no ResizeObserver example. Matching that message with
ignoreErrorsis an inference, not a documented recipe.
2. Make alert rules narrower (alert best practices):
- Alert on new issues; use a separate alert for escalations or issues moving from resolved back to unresolved.
- Pair triggers with severity filters; send only high-severity issues to chat, and ticket-style actions to assignment.
- Use thresholds for volume (error counts above a baseline) rather than every individual error. The docs give no numbers; pick them from your own baseline.
- Scope by environment (production only is common) and turn on throttling (both are alert settings; the best-practices page only names them and points to the create-alerts page), route by ownership, and review each alert's page to turn off rules that rarely help (the docs say you can turn an alert on or off there).
- An older Sentry blog post (Oct 2022) suggests defining "new" by a minimum number of events or affected users, notifying the assigned issue owner, and routing unassigned issues to a triage channel to avoid notifying everyone.
A prompt you can reuse
Our Sentry project is noisy. Do not delete anything yet. Using the last 7 days of issues I paste below, group them into: real bugs, browser or extension noise, third-party script errors, and expected errors (e.g. 404, user abort). For each noise group propose either anignoreErrorsregex, adenyUrlsentry or abeforeSendcondition, with the exact message it matches, and say what real error could be hidden by it. Then propose alert rule changes: new-issue alert with a minimum event or user count, a separate regression alert, production only. I will review the diff.
Common mistakes
- Broad
ignoreErrorsstrings that also match real errors (strings match partially). - Filtering in
beforeSendon page URL when the docs match frame URLs. - Muting the channel instead of changing the rule, then missing a real incident.
- Letting the agent apply filters without listing what each one could hide.
Limits
Docs and one dated blog post only; I did not tune a live project, and no source in my search measured how much noise a given rule removes.
Primary source
Primary sources: Sentry's JavaScript filtering and alert best practices pages (Sentry, read 18 October 2026). Checked: ignoreErrors strings match partially and regexes give exact matches; allowUrls works on stack-frame URLs rather than the page URL; beforeSend returning null drops an event and hint.originalException; the known-browser-extensions inbound filter; thirdPartyErrorFilterIntegration needing a bundler plugin with applicationKey and not working with the Loader Script or CDN bundles; no ResizeObserver mention; alert advice to alert on new issues, a separate escalation or regression alert, severity-based chat notifications, volume thresholds without numbers, and routing to specific channels. Softened in the body: the docs state the stack-frame behavior explicitly only for allowUrls, and environments and throttling are only named on the best-practices page. Not verified: the claim that the docs prefer client-side filtering because the event is never sent, the October 2022 blog post, and any measurement of how much noise a rule removes.
Started from a post by @Sentry docs, packaged by the editor. Original post