suppressing-noisy-errors
यह क्या करती है
यह स्किल ऐसे नियम बनाती है जो PostHog को उन त्रुटियों को दर्ज करने से रोकते हैं जिन्हें आप ठीक नहीं कर सकते, जैसे ब्राउज़र एक्सटेंशन या बॉट से आने वाली त्रुटियाँ। यह उन टीमों के लिए है जो शोर घटाना और खर्च कम करना चाहती हैं।
कब इस्तेमाल करें
- ✓जब ब्राउज़र एक्सटेंशन की त्रुटियाँ आपकी त्रुटि सूची भर दें और आप उन्हें ठीक न कर सकें।
- ✓जब बॉट या क्रॉलर का ट्रैफ़िक बहुत सारी बेकार त्रुटि रिपोर्ट बना रहा हो।
- ✓जब कोई त्रुटि हानिरहित हो पर बहुत बार आती हो, और आप उसका खर्च घटाना चाहें बिना सारी दृश्यता खोए।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/suppressing-noisy-errors/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ResizeObserver loop त्रुटियाँ और ब्राउज़र एक्सटेंशन से आने वाली त्रुटियाँ दर्ज करना बंद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह शोर वाली त्रुटियाँ खोजती है, फिर एक संकीर्ण फ़िल्टर लिखती है जो केवल मेल खाने वाले इवेंट मुद्दे बनने से पहले हटाता है। जो त्रुटियाँ बार-बार आती हैं पर उपयोगी हैं, उनके लिए यह सैंपलिंग दर घटा सकती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Suppressing noisy errors
Suppression is destructive in spirit: matching events are dropped at ingestion and never become issues. The wrong rule silently throws away real bugs. This skill exists to make sure suppression is applied only to patterns that are genuinely unactionable, with filters narrow enough to avoid swallowing unrelated errors.
When suppression is the right tool
Suppression is the right tool when an error is:
- Unactionable from your code — browser extensions, third-party scripts, ad blockers, network beacons firing after navigation. You can't fix it because you didn't write it.
- Browser engine quirks —
ResizeObserver loop limit exceeded,Script error.,Non-Error promise rejection capturedwith empty payloads. - Bot or crawler traffic — errors firing only from headless browsers or known crawler user agents.
- Sampling already enough — for high-volume but real errors, dampen with
sampling_rateinstead of full suppression so you keep visibility without paying full cost.
Suppression is not the right tool when:
- The error is unactionable today but might become actionable after a fix —
use issue status
archivedorresolvedinstead so it surfaces if it returns. - You only want to mute notifications — assign the issue to a user, change its status, or use notification rules.
- The error is a duplicate of another — merge or create a grouping rule
(
grouping-noisy-errors).
Available tools
| Tool | Purpose |
|---|---|
posthog:query-error-tracking-issues-list |
Find suppression candidates by volume and impact; dry-run a candidate filter via filterGroup |
posthog:query-error-tracking-issue-events |
Inspect sampled $exception events to confirm the pattern |
posthog:execute-sql |
Fallback dry-run for filters that need OR groups or operators outside the filterGroup allowed list |
posthog:error-tracking-suppression-rules-list |
Check existing suppression rules |
posthog:error-tracking-suppression-rules-create |
Create the suppression rule |
posthog:error-tracking-issues-partial-update |
Hide past data via issue status without dropping events at ingestion |
Workflow
Step 1 — Identify candidates
High occurrences with low distinct users is the strongest noise signal — one user (or one bot) producing many events.
posthog:query-error-tracking-issues-list
{
"status": "active",
"orderBy": "occurrences",
"orderDirection": "DESC",
"dateRange": { "date_from": "-7d" },
"limit": 30,
"volumeResolution": 0
}
Look for:
- High
occurrences, lowusersratio (e.g., 50,000 occurrences, 3 users → likely bot or extension loop) - Exception messages matching known noise patterns:
ResizeObserver loop,Script error., extension namespaces (chrome-extension://,moz-extension://,safari-extension://) - Stack traces dominated by third-party domains the user doesn't control
Step 2 — Confirm the pattern
For each candidate, pull a sample of $exception events and check that the
pattern matches what you intend to suppress:
posthog:query-error-tracking-issue-events
{
"issueId": "<candidate_issue_id>",
"limit": 10,
"include": ["exception", "stacktrace", "environment", "navigation"]
}
onlyAppFrames defaults to true, but for noise investigation you usually
want the third-party frames visible — pass onlyAppFrames: false so extension
URLs and vendor domains show up in the stack.
Confirm:
- The exception type or message text is consistent across the sample
- The URLs / user agents / browsers don't include real user traffic mixed in with the noise
- Suppressing this pattern won't hide a future real bug that happens to share the type
If any sample doesn't match, narrow the filter or skip the candidate.
Step 3 — Scope the filter tightly
Suppression rules are configured with the same filter shape as grouping rules. The `e
अक्सर पूछे जाने वाले सवाल
क्या दबाने से असली बग छिप सकते हैं?
हाँ, अगर फ़िल्टर बहुत व्यापक हो। इसलिए स्किल फ़िल्टर कसे हुए रखती है, ताकि असंबंधित त्रुटियाँ न हटें।
क्या बिना हटाए त्रुटि छिपाने का कोई तरीका है?
हाँ। मुद्दे को आर्काइव या रिज़ॉल्व करने से वह वापस आने पर दिखता रहता है, और असाइनी या सूचनाएँ बदलने से केवल यह बदलता है कि किसे अलर्ट मिले।
सैंपलिंग क्या है?
यह मेल खाने वाले इवेंट का केवल एक हिस्सा दर्ज करती है, ताकि कुछ दृश्यता बनी रहे और खर्च कम हो।
जानकारी
लेखक का मूल विवरण
Create PostHog error tracking suppression rules to drop high-volume, low-value errors at ingestion. Use when the user asks "stop capturing this error", "drop browser extension errors", "ignore ResizeObserver loops", "suppress bot-driven errors", or wants to reduce ingestion cost from noisy unactionable errors. Identifies suppression candidates, scopes the filter tightly, decides between full suppression and sampling, and confirms the rule before creating it. Suppressed errors are dropped permanently — this skill defaults to caution.
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6872
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।