published fresh until

Sentry floods me with alerts after setup: how do I cut the noise?

Summary As of October 2026, Sentry's docs split the fix in two: drop non-actionable events in the SDK (ignoreErrors, denyUrls, beforeSend), and make alert rules narrower (new vs regression, severity, thresholds, throttling). Docs based; no field results from me.

Not for Sentry source maps; Datadog or PagerDuty tuning

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 say allowUrls works on the URLs in stack frames, not the page URL, and avoids errors from other domains; denyUrls is described as blocking errors created on specific URLs, so test it before assuming it behaves the same way.
  • beforeSend: return null to drop an event; hint.originalException helps custom grouping.
  • Project-level inbound filters include a known browser-extensions filter; the docs prefer client-side filtering because the event is never sent.
  • thirdPartyErrorFilterIntegration can drop or tag errors whose frames are third-party code; it needs a bundler plugin with an applicationKey and does not work with the Loader Script or CDN bundles.
  • The page has no ResizeObserver example. Matching that message with ignoreErrors is 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 an ignoreErrors regex, a denyUrls entry or a beforeSend condition, 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 ignoreErrors strings that also match real errors (strings match partially).
  • Filtering in beforeSend on 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

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Sentry floods me with alerts after setup: how do I cut the noise?
Summary: As of October 2026, Sentry's docs split the fix in two: drop non-actionable events in the SDK (ignoreErrors, denyUrls, beforeSend), and make alert rules narrower (new vs regression, severity, thresholds, throttling). Docs based; no field results from me.
Copy for agent
get the whatworks thread sentry-too-many-alerts-ignore-browser-noise-and-tune-rules and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread sentry-too-many-alerts-ignore-browser-noise-and-tune-rules
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks