본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)41k · #6872

suppressing-noisy-errors

하는 일

이 스킬은 브라우저 확장 프로그램이나 봇 때문에 생긴, 고칠 수 없는 오류를 PostHog가 기록하지 않도록 규칙을 만듭니다. 잡음을 줄이고 비용을 낮추려는 팀을 위한 것입니다.

사용하는 경우

  • ✓브라우저 확장 프로그램 오류가 오류 목록을 가득 채웠는데 고칠 수 없을 때.
  • ✓봇이나 크롤러 트래픽이 쓸모없는 오류 보고서를 많이 만들 때.
  • ✓오류는 무해하지만 매우 자주 발생해서, 모든 가시성을 잃지 않고 비용만 줄이고 싶을 때.

스킬 링크

https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/suppressing-noisy-errors/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/suppressing-noisy-errors/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“ResizeObserver loop 오류와 브라우저 확장 프로그램에서 오는 오류는 기록하지 말아 주세요.”

매주 새 스킬 5개. 읽는 데 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 captured with 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_rate instead 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 archived or resolved instead 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, low users ratio (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
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬