Skip to Content
Feedback & MonitoringSniffer AutoBug

๐Ÿค– Sniffer AutoBug

The CDN-driven auto-capture pipeline that watches your production application 24/7 and feeds detected errors into Sniffer via a real-time live feed.


๐ŸŒŸ Overview#

Sniffer AutoBug is the always-on capture layer that pairs with the ๐Ÿ“ก Live Logsย  error-monitoring system. Where Live Logs is the list of detected errors and ๐Ÿ›ฐ๏ธ System Bugsย  is the triage UI, AutoBug is the pipeline that delivers them โ€” the CDN snippet, the WebSocket live feed, and the configuration page that controls how captured events are turned into bugs.

It uses the same sniffer.js snippet that powers the ๐Ÿ’ฌ Feedback Widgetย , but the AutoBug subsystem focuses on silent, automatic capture: errors fired by uncaught exceptions, network failures, performance regressions, and other runtime signals.

๐Ÿ–ผ๏ธ Insert image of the Sniffer AutoBug settings + live feed page side-by-side.

Routes:

  • Settings โ†’ /sf/projects/:id/settings/sniffer-autobug
  • Live feed (embedded) โ†’ on the same page

๐Ÿงฉ How It Works#

Browser (snippet) โ”‚ fires JS error / network failure / perf event โ–ผ Sniffer Edge (CDN ingestion) โ”‚ dedup + enrich (device, geo, session) โ–ผ WebSocket /auto-bugs channel โ”‚ emit `new-auto-bug` event โ–ผ Sniffer AutoBug UI โ”‚ appears in Live Feed โ”‚ matched against config rules โ–ผ [Optional] Auto-create [๐Ÿ“‹ Task Board](https://app.interactivedox.com/documentation-portal/product/6a019976848b35a281f94e9c/1.1.2/6a2bae2de68b4486d43a9d17/workflows/task-board) issue OR add to [๐Ÿ›ฐ๏ธ System Bugs](https://app.interactivedox.com/documentation-portal/product/6a019976848b35a281f94e9c/1.1.2/6a2bae2de68b4486d43a9d17/feedback-and-monitoring/system-bugs) OR fan-out to Slack / Teams / Jira

โš™๏ธ Configuration Page#

Route: /sf/projects/:id/settings/sniffer-autobug

The Settings tab has two main areas: Settings (left) and Live Feed (right).

Settings Panel#

SettingDescription
AutoBug EnabledMaster toggle for the entire AutoBug pipeline on this project
Default StatusStatus to assign newly-captured auto-bugs (e.g., NEW) โ€” dropdown with color chips
Default SeveritySeverity to assign auto-bugs (Critical / High / Medium / Low)
Auto-Create TaskToggle โ€” create a Task Board issue per dedupโ€™d error
Dedup WindowTime window (in minutes) for fingerprint-based deduplication
Capture Sample RatePercentage (1โ€“100) โ€” useful for high-volume apps
Allowed OriginsHostname whitelist (*.example.com, app.acme.io)
Ignore PatternsRegex array of error messages to drop
PII Mask KeysList of input names / regexes whose values are scrubbed before upload
Source Map URLsOptional โ€” URLs to source maps so stack traces are un-minified
Routing RulesAuto-assign / auto-tag based on URL pattern

Live Feed Panel#

A real-time stream of incoming auto-bugs, powered by a WebSocket on /auto-bugs.

ElementDescription
New bug rowOne row per new-auto-bug event (animated entrance)
Pause / ResumeStop the stream temporarily
FilterNarrow by error type, URL, severity
Click-throughOpen the full ๐Ÿ›ฐ๏ธ System Bug detailย 
Inline actionsMark as ignored, mark as resolved, link to a task

WebSocket events:

EventTrigger
new-auto-bugA brand-new fingerprint just appeared
auto-bug-updatedExisting bug got a new occurrence / count++
auto-bugs-updateBatch update (e.g., status reassignment)

๐Ÿ–ผ๏ธ Insert image of the Live Feed with 5+ rows streaming in real-time.


๐Ÿ“ฅ The Snippet#

<script src="https://cdn.snifferweb.com/sniffer.js" data-project-id="YOUR_PROJECT_ID" data-autobug="true" data-environment="production" ></script>
Data AttributePurpose
data-project-idRequired โ€” your Sniffer project ID
data-autobugtrue to enable AutoBug capture (default true)
data-environmentTag uploads with the env (matches Env Topologyย )
data-feedbackfalse to disable the feedback widget
data-sampleOverride sample rate (0โ€“1.0)
data-user-idIdentify the current user (for affected-user counts)
data-maskComma-separated regexes for PII masking

Tip: The same script tag is shared with ๐Ÿ’ฌ Feedback Widgetย  and ๐Ÿ“ก Live Logsย . Use data attributes to control which sub-systems are active.


๐ŸŽฏ Routing Rules#

Configure rules that act on incoming auto-bugs before they become System Bugs or Task Board issues:

Rule ComponentDescription
URL patternMatch by page (e.g., /checkout/*)
Error typeJS Error / Network / Promise / Resource / CSP
Status codeMatch HTTP status code (e.g., 5xx only)
Browser / OSFilter by browser/OS
Severity overrideForce a specific severity for matches
Auto-tagApply tags to matching auto-bugs
Auto-assignAssign to a team / user
Notify channelSend to a specific Slack/Teams channel
DropSilently drop matches (useful for noisy 3rd-party errors)

Rules evaluated top-to-bottom โ€” drag to reorder.

๐Ÿ–ผ๏ธ Insert image of the Routing Rules table with multiple rules.


๐Ÿšจ Alert Thresholds#

The AutoBug pipeline can fire alerts before issues are auto-created:

ThresholdEffect
ImmediateAlert on first occurrence
3+ countAlert after 3rd occurrence
10+ countAlert after 10 occurrences
Burst rateAlert when N occurrences within M minutes
New userAlert when an error impacts a previously-unaffected user

Alerts are delivered via the channels configured in ๐Ÿ”— Integrationsย  (Slack, Teams, email, in-app).


๐Ÿค– AI on AutoBug#

Each captured auto-bug feeds into AI:


๐Ÿ” Privacy#

AspectBehaviour
PII maskingApply masks defined in project settings + ๐Ÿข PII Managementย  before upload
Allowed originsOnly events from whitelisted hostnames are accepted
No cookiesNo 3rd-party cookies โ€” uses a single first-party session ID
GDPRPersonal data flags drive retention; data is deletable on request

๐Ÿ” Permissions#

ActionRequired Permission
View AutoBug settingsLIVE_LOGS.VIEW
Configure AutoBugLIVE_LOGS.CONFIGURE
View live feedLIVE_LOGS.VIEW
Resolve / ignore auto-bugsLIVE_LOGS.CONFIGURE

๐Ÿž Troubleshooting#

SymptomLikely Cause / Fix
Live Feed shows nothingSnippet not loaded / hostname not in Allowed Origins
Bursts of duplicate auto-bugsIncrease Dedup Window or sharpen fingerprint via PII mask
Some errors arenโ€™t capturedCheck Sample Rate and Ignore Patterns
Stack traces are minifiedUpload source maps or set Source Map URLs
Auto-create is on but no Task Board issues appearAuto-Create-Task toggle is OFF โ€” verify in settings

See โ“ Troubleshooting โ†’ย .


TopicDescription
๐Ÿ“ก Live Logs โ†’ย The detection pipeline (what AutoBug delivers)
๐Ÿ›ฐ๏ธ System Bugs โ†’ย Triage UI for captured errors
๐Ÿ“‹ Task Board โ†’ย Auto-created Task Board issues
๐Ÿ› Bug Details โ†’ย Detail drawer with AI Analysis
๐Ÿ› ๏ธ Orchestrator โ†’ย Autonomous follow-up jobs on captured errors
โš™๏ธ Settings & Permissions โ†’ย Enable AutoBug at the project level
๐Ÿ”— Integrations โ†’ย Slack / Teams / email alert delivery

ยฉ 2026 Your Company