signals-scout-apm
यह क्या करती है
यह स्काउट आपके distributed ट्रेस में हर सेवा के लिए त्रुटि दर, विलंबता और ट्रैफ़िक में बदलाव देखता है। यह उन इंजीनियरिंग टीमों के लिए है जो सेवा का रिग्रेशन जल्दी पकड़ना चाहती हैं।
कब इस्तेमाल करें
- ✓जब किसी रिलीज़ के बाद कोई सेवा ज़्यादा त्रुटियाँ लौटाने लगे।
- ✓जब किसी सेवा या ऑपरेशन का प्रतिक्रिया समय उल्लेखनीय रूप से धीमा हो जाए।
- ✓जब किसी सेवा का ट्रैफ़िक अचानक तेज़ी से गिर जाए।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-apm/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“बताइए कि क्या कोई सेवा पिछले हफ़्ते की तुलना में विफल होने या धीमी होने लगी है।”
हर हफ़्ते 5 नई skills, 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 observability दूसरे स्काउट संभालते हैं।
स्थायी प्रदर्शन समस्या क्या है?
यह ऐसी समस्या है जो हमेशा रहती है, जैसे बार-बार होने वाली कॉल या महँगी क्वेरी, न कि अचानक बदलाव।
क्या यह कोई ज्ञात समस्या दोबारा रिपोर्ट करेगा?
नहीं। अगर इनबॉक्स पहले से वह रिग्रेशन ट्रैक कर रहा है, तो स्काउट एक और रिपोर्ट जोड़ने के बजाय उसे अपडेट करता है।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।