suppressing-noisy-errors
O que ela faz
Esta skill cria regras que impedem o PostHog de registrar erros que você não consegue corrigir, como os causados por extensões do navegador ou bots. É para equipes que querem reduzir o ruído e o custo.
Quando usar
- ✓Quando erros de extensões do navegador enchem sua lista de erros e você não consegue corrigi-los.
- ✓Quando tráfego de bots ou crawlers está gerando muitos relatórios de erro inúteis.
- ✓Quando um erro é inofensivo, mas muito frequente, e você quer reduzir seu custo sem perder toda a visibilidade.
Link da skill
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/suppressing-noisy-errors/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Pare de registrar os erros de ResizeObserver loop e os erros vindos de extensões do navegador.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela encontra os erros barulhentos e escreve um filtro estreito que descarta apenas os eventos correspondentes antes que virem issues. Para erros frequentes, mas úteis, pode reduzir a taxa de amostragem.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
A supressão pode esconder bugs reais?
Sim, se o filtro for amplo demais. A skill mantém os filtros restritos para que erros não relacionados não sejam descartados.
Existe um jeito de esconder um erro sem descartá-lo?
Sim. Arquivar ou resolver uma issue a mantém visível caso ela volte, e mudar o responsável ou as notificações só muda quem é avisado.
O que é amostragem?
É registrar apenas uma parte dos eventos correspondentes, assim você mantém alguma visibilidade pagando menos.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6872
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
depot-ci
41 milAjuda seu agente a configurar e executar fluxos de trabalho do Depot CI, uma alternativa ao GitHub Actions, incluindo a migração de fluxos existentes e a leitura dos logs de execução.
depot-container-builds
41 milAjuda seu agente a criar imagens Docker nos builders remotos do Depot, incluindo imagens multiplataforma, envio para registros e correção de falhas de build.
depot-github-runners
41 milAjuda seu agente a levar tarefas do GitHub Actions para runners gerenciados pelo Depot, escolhendo os tamanhos e os rótulos dos runners e resolvendo problemas de configuração.
editing-agents-md
41 milAjuda seu agente a decidir se uma regra deve ficar em um arquivo AGENTS.md ou CLAUDE.md, e a escrevê-la de forma que seja seguida sem deixar o arquivo inchado.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.