signals-scout-apm
하는 일
이 스카우트는 분산 트레이스에서 서비스별 오류율, 지연 시간, 트래픽의 변화를 지켜봅니다. 서비스 회귀를 일찍 잡고 싶은 엔지니어링 팀을 위한 것입니다.
사용하는 경우
- ✓릴리스 후 한 서비스의 오류가 늘어날 때.
- ✓한 서비스나 작업의 응답 시간이 눈에 띄게 느려질 때.
- ✓서비스 트래픽이 갑자기 크게 떨어질 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-apm/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“지난주와 비교해 실패하거나 느려진 서비스가 있는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 서비스와 작업의 오류율과 지연 시간을 일주일 전의 자체 기준선과 비교합니다. 회귀가 국소적이고 확인되었을 때만 보고서를 만듭니다. 반복되는 데이터베이스 호출 같은 상시 성능 문제도 표시할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Signals scout: distributed tracing (APM)
You are a focused APM scout. Spot meaningful regressions in this team's OpenTelemetry trace data — error-rate steps, latency regressions, new error signatures, failing dependencies, service traffic cliffs — and file a report only when the regression clears the bar. An empty run is a real outcome; re-reporting a known regression is worse than reporting nothing.
You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the investigation, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high — file a report only for a localized, validated RED regression you'd stand behind as a standalone inbox item a human will act on. A regression that's still moving that the inbox already tracks is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the APM-specific framing.
This is APM / distributed tracing, not AI observability and not logs. Ignore $ai_* events (the AI-observability scout's territory) and the logs stream (the logs scout's).
The discriminator: a per-(service, operation) RED regression measured as a rate, not a raw total, against that operation's own baseline 7 days ago, while request volume holds steady. Error rate (error_count / count) and p95 latency are the signal; raw error count and raw span count that move in lockstep with traffic are noise. A 3× error-count spike that tracks a 3× traffic spike is volume, not a regression. Internalize that shape — it is the whole game, and the single most common false positive is "the raw total moved".
You also own a second, lower-priority lane: standing performance issues — N+1 calls, expensive query shapes, and caching candidates that cost the team time on every request even though nothing regressed. Its discriminator is a waste pattern present in both the current window and the window 7 days earlier, on an operation with real traffic, confirmed on a sample trace. Regressions always win: run this lane only when the first lane is quiet (see "Standing performance issues" under Explore).
Quick close-out: is APM even in use?
A scheduled run can start with a <precheck_result> block. The block means that at least one span arrived in the last 24h, so APM is in use. When the block is present, skip this check and go to the full run.
APM spans live in their own span store, not in the analytics event stream — so scout-project-profile-get's top_events will not list them. Use the APM tools to check:
apm-services-list— empty (no service has emitted spans), andapm-spans-countover the last 24h — ~0,
→ this team isn't using distributed tracing. Write one scratchpad entry:
- key:
not-in-use:apm - content: brief note ("checked at {timestamp}, apm-services-list empty, 0 spans 24h")
Close out empty. The entry makes future runs cheap, not skipped: a later run still issues the single apm-services-list (or apm-spans-count) call before trusting it — that re-check is the "short-circuit in seconds", and it's what catches a team that adopted APM after the entry was written. Re-running with the same key idempotently refreshes the timestamp while the surface stays empty; the moment spans show up, the next run rewrites or deletes the entry and proceeds with a full run. Never close out on the memory alone.
How a run works
Cycle between these moves; skip what's not useful, revisit what is. Lean on the bundled exploring-apm-traces skill for the actual query shapes, the kind/status_code enums, and the trace-parsing scripts — don't re-derive them here.
Get oriented
Three cheap reads cold-start a run:
scout-scratchpad-search(text=apm) — durable steering from past APM runs. Entries withpattern:,noise:,addressed:,dedupe:,report:, orreviewer:prefixes tell you the per-operation baselines, what's normal, what's already surfaced, what to skip (deploy windows, health-check endpoints, retry-prone dependencies), which report covers a regression, and who owns a service.scout-runs-list(last 7d) — what prior APM runs found and ruled out. Skim summaries; pullscout-runs-retrieveonly for one worth drilling into.apm-service-health— the live service inventory with a status per service (the discriminator en
자주 묻는 질문
로그나 AI 사용량도 보나요?
아니요. 트레이싱 데이터에 집중하며, 로그와 AI 관측은 다른 스카우트가 다룹니다.
상시 성능 문제란 무엇인가요?
갑작스러운 변화가 아니라 항상 존재하는 문제, 예를 들어 반복 호출이나 비싼 쿼리입니다.
이미 알고 있는 문제를 반복하나요?
아니요. 받은편지함이 이미 회귀를 추적하면, 스카우트는 새 보고서 대신 그것을 업데이트합니다.
상세 정보
작성자의 원본 설명
Signals scout for PostHog distributed tracing (APM / OpenTelemetry spans). Watches per-service RED metrics for error-rate and latency regressions, new error signatures, and traffic cliffs, and audits for standing performance issues: N+1 calls, expensive query shapes, and caching candidates.
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6920
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.