DebugBundle

Managing Noise

Reduce recurring low-value incidents with capture policy, capture rules, and agent skill guidance.

DebugBundle should surface actionable incidents, not turn every known operational pattern into permanent triage work. Noise management is the process of turning repeated, low-value incidents into scoped rules after you have confirmed the evidence.

Use this guide when you see paths, browser events, bots, third-party resources, or expected client errors repeatedly opening incidents.

Noise Management Loop

  1. Inspect the incident bundle before suppressing anything.
  2. Decide whether the signal is a real product issue, expected application behavior, or operational noise.
  3. Use the narrowest control that matches the evidence.
  4. Re-check the incident list after new traffic to make sure useful incidents still open.
  5. Keep the rule auditable: name it clearly, scope it by service and environment, and add an expiry when the pattern may be temporary.

Do not start by broadly dropping event types or all 4xx responses. A broad rule can hide real regressions that happen to share the same status code or generic browser message.

Which Control to Use

SituationPreferred controlWhy
A route should not open incidents for every generic 404Capture-policy path rule or remove broad client-error promotionKeeps important app paths explicit without promoting scanner traffic
A known noisy incident has bundle evidenceCapture-rule suggestion from the incidentStarts from observed data and produces a narrower matcher
Third-party script/resource failures repeat in browsersProject capture rule scoped by browser/resource fieldsCentralized and auditable across SDK instances
Bot-only browser noise repeatsProject capture rule scoped by client_kind or bot_familyAvoids hiding the same behavior for human users
A tenant-specific event must never leave the runtimeSDK beforeSend hookLocal app-owned policy before upload
Temporary spike during an investigationsample rule with an expiryPreserves some evidence while reducing volume

Start From an Incident

Use the incident as evidence for the rule.

debugbundle inspect <incident-id> --source cloud --json
debugbundle explain <incident-id> --source cloud --json
debugbundle bundle <incident-id> --source cloud --json
debugbundle capture-rule suggest <incident-id> --json

If a suggestion is safe, apply it from the suggestion instead of hand-writing a matcher:

debugbundle capture-rule create-from-suggestion <incident-id> \
  --suggestion-id <suggestion-id> \
  --name "Demote known analytics resource noise" \
  --expires-at 2026-07-20T00:00:00Z

Use demote when the event is useful context but should not open, reopen, alert, or dispatch automation. Use sample when you still want representative events. Use drop only when future matching events have no retained value.

Browser Resource Failures

Resource incidents identify the failed provider or asset, such as “Google Tag Manager script failed to load”. Concrete resource failures group across pages within the same project, service and environment. Affected routes remain context, with counts labeled as occurrence metadata or retained samples. Different assets and versions remain separate.

A resource-load event does not prove why the request failed. “Possibly blocked by privacy tools” leaves room for network failures, CSP and provider outages; it does not diagnose Pi-hole or a particular extension.

Open Reduce noise on the incident to review a suggestion. Recognized GTM, Meta Pixel and Clarity scripts can offer Keep as context or Stop capturing, scoped to the exact resource host/path, service and environment. Confirm that the dependency is optional for your app before creating either rule. Google sign-in, application assets and unknown dependencies receive no automatic resource suppression suggestion.

Keeping events as context prevents new incidents, reopenings, alerts and automation from those matching events; context may still count toward paid usage. Dropping discards future matching events. Existing incidents and artifacts stay available, and owners/admins can pause or remove rules in project settings.

This upgrade keeps Bundle v1 and accepts existing SDK payloads. New grouping is forward-only; existing incident history is not merged. Browser SDK updates improve page-origin rule evaluation and protocol-relative target capture. The server still enforces compatible rules for older SDKs, but cannot recover events an older client already discarded locally.

Manage Route Noise

Generic 404 traffic is common on public applications. Avoid promoting every 404 unless you really want all missing paths to open incidents.

Prefer a path-scoped client-error rule for routes where a 4xx is meaningful:

debugbundle capture-policy set \
  --project <project-id> \
  --client-error-path-rule '404=/checkout/*@GET,POST'

This promotes 404 responses under /checkout/* without opening incidents for scanner paths, old assets, or unrelated missing routes.

Teach Agents the Same Workflow

The generated .agents/skills/debugbundle/SKILL.md includes a Noise Management section. When an AI agent is investigating recurring low-value incidents, it should:

  • Inspect bundle evidence first.
  • Run debugbundle capture-rule suggest <incident-id> --json.
  • Prefer project capture rules for operational noise.
  • Keep browser suppression narrow with structured browser, bot, service, and environment evidence.
  • Use client-error path rules for known route-scoped 4xx incidents.

Keep the generated skill current with:

debugbundle validate --fix --json

For MCP-based agents, the same workflow is available through suggest_capture_rules_from_incident, create_capture_rule_from_incident_suggestion, get_capture_policy, and update_capture_policy.

What Already Stays Non-Incident

Unpromoted 4xx responses, including generic 404 traffic, remain request telemetry or context when captured. They do not open normal request incidents solely because they repeat.

Common low-value external-probe GET/404 paths are also excluded from hosted improvement lists unless you explicitly promote them through project policy.

  • Capture Policy — Presets, client-error incidents, and capture rules
  • Agent Skill File — How generated skills teach agents to use DebugBundle
  • MCP Tools — Agent-facing capture policy and capture-rule tools
  • Browser SDK — Browser-specific noise and beforeSend guidance

On this page