monitoring
Skill1 starsChanged 9 months agoMITView on GitHub
Designs monitoring and alerting systems. Covers metric selection, dashboard design, alert rules, SLOs/SLIs, on-call runbooks, and observability architecture. Use when setting up monitoring, defining SLOs, creating dashboards, or improving alerting.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- alizafarbati/opencode-agents-mcptheir own version, first seen Sep 8, 2026
- buriedsignals/spotlighttheir own version, first seen Aug 26, 2026
- niqinggood/openkitty-skillstheir own version, first seen Jun 26, 2026
- autosendhq/email-skillstheir own version, first seen Apr 2, 2026
- neuron-one/GODMODEtheir own version, first seen Apr 1, 2026
- ThuPhuong1010/claude-factorytheir own version, first seen Mar 29, 2026
Used with
Projects with it also use database.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xiaobei930Skilldatabase
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- buriedsignals/spotlight★ 47same name
- neuron-one/GODMODE★ 33same name
- autosendhq/email-skills★ 18same name
- niqinggood/openkitty-skills★ 4same name
- rogue-dev-studio/ai-agents-rogue★ 2same name
- alizafarbati/opencode-agents-mcp★ 1same name
- ThuPhuong1010/claude-factory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- accessibilitySkill
- api-designSkill
- api-integrationSkill
- architectSkill
- async-patternsSkill
- best-practicesSkill
- bugSkill
- buildSkill
- cachingSkill
- ci-cdSkill
- config-managementSkill
- containerizeSkill
- database-designSkill
- data-modelingSkill
- data-pipelineSkill
- debug-latencySkill
- dependency-updateSkill
- deploySkill
- dev-setupSkill
- docsSkill
- error-handlingSkill
- estimateSkill
- feature-flag-opsSkill
- git-recoverySkill
- i18nSkill
- iacSkill
- incidentSkill
- load-testingSkill
- loggingSkill
- migrateSkill
- observability-debugSkill
- onboardSkill
- perfSkill
- phase-gateSkill
- pr-authorSkill
- qaSkill
- refactorSkill
- reviewSkill
- rollbackSkill
- schema-evolutionSkill
- scope-checkSkill
- security-auditSkill
- state-managementSkill
- tech-debtSkill
- tech-stackSkill
- telemetrySkill
- testingSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If you can only monitor four things, monitor these.
- Distinctive: line 71
Default time range: last 6 hours (most investigations start here)
- Distinctive: line 99
Every alert must be actionable: If the response is "wait and see," it's not an alert.
- Distinctive: line 100
Every alert needs a runbook: No one remembers what to do at 3 AM.
- Distinctive: line 101
Review alerts monthly: Delete alerts that fire but require no action (noise).
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Monitoring & Alerting
Monitor for user impact, not system internals. A server at 95% CPU is fine if users are happy. A server at 20% CPU is broken if requests are timing out.
The Four Golden Signals
Monitor these for every service:
| Signal | What It Measures | Example Metric |
| Latency | How long requests take | p50, p95, p99 response time |
| Traffic | How much demand | Requests per second, concurrent users |
| Errors | How often things fail | Error rate (%), 5xx count |
| Saturation | How full the system is | CPU, memory, disk, queue depth, connection pool |
If you can only monitor four things, monitor these.
SLOs, SLIs, SLAs
SLI (Service Level Indicator)
A metric that measures a user-facing behavior.
SLI: Percentage of HTTP requests completing in < 500ms
Current: 99.2%SLO (Service Level Objective)
A target for an SLI. Internal commitment.
SLO: 99.5% of requests complete in < 500ms, measured monthly
Error budget: 0.5% = ~3.6 hours of allowed degradation per monthSLA (Service Level Agreement)
An SLO with consequences. External contract.
SLA: 99.9% uptime. Credits issued below this threshold.Define SLOs before building dashboards. They tell you what to measure and when to alert.
Dashboard Design
Layout
┌─────────────────────────────────────────────┐
│ Service Health Summary │
│ ✅ API ✅ Database ⚠️ Worker ✅ Cache │
├──────────────────────┬──────────────────────┤
│ Request Rate │ Error Rate │
│ 📈 (last 6h) │ 📈 (last 6h) │
├──────────────────────┼──────────────────────┤
│ Latency (p50/p95) │ Saturation │
│ 📈 (last 6h) │ 📈 (last 6h) │
├──────────────────────┴──────────────────────┤
│ Recent Deployments │
│ ▼ deploy markers on all graphs above │
└─────────────────────────────────────────────┘Principles
- Top-level dashboard: Red/yellow/green health for each service. Glanceable.
- Service dashboard: The four golden signals for one service. Drill-down.
- Investigation dashboard: Detailed metrics for debugging. On-demand.
- Deploy markers on every graph (most issues correlate with deploys)
- Default time range: last 6 hours (most investigations start here)
- Include "what's normal" baselines (yesterday, last week)
Alert Design
When to Alert
- SLO error budget is burning faster than expected
- Service is down or unreachable
- Error rate exceeds baseline by 3x+
- Latency p95 exceeds SLO threshold for > 5 minutes
When NOT to Alert
- CPU/memory/disk at a threshold (alert on user impact, not system state)
- A single transient error (wait for pattern)
- Something that can wait until business hours (use a ticket instead)
- A dashbaord already shows it (redundant noise)
Alert Template
ALERT: [clear, specific name]
SEVERITY: critical / warning / info
CONDITION: [metric] [operator] [threshold] for [duration]
IMPACT: [what users experience]
RUNBOOK: [link to resolution steps]
ESCALATION: [who to contact if not resolved in X minutes]Alert Rules
- Every alert must be actionable. If the response is "wait and see," it's not an alert.
- Every alert needs a runbook. No one remembers what to do at 3 AM.
- Review alerts monthly. Delete alerts that fire but require no action (noise).
- Page on symptoms, ticket on causes. "Requests failing" is a page. "Disk at 80%" is a ticket.
Metric Naming Convention
<service>.<subsystem>.<metric>.<unit>
# Examples
api.http.request_duration.milliseconds
api.http.requests.total
api.database.query_duration.milliseconds
api.database.connections.active
worker.jobs.processed.total
worker.jobs.failed.total
worker.queue.depth.countCommon Monitoring Stack
| Need | Tools |
| Metrics | Prometheus, Datadog, CloudWatch, Grafana |
| Logs | Loki, ELK, CloudWatch Logs, Datadog Logs |
| Traces | Jaeger, Zipkin, Datadog APM, Honeycomb |
| Alerts | PagerDuty, OpsGenie, Grafana Alerting |
| Uptime | Pingdom, UptimeRobot, Checkly |
| Dashboards | Grafana, Datadog, CloudWatch |
Reference:
reference/alerting-patterns.md- golden signals by service type, severity levels, alert fatigue prevention, SLO/SLI templates, dashboard layouts, PromQL patterns, escalation decision tree.
Monitoring Maturity Checklist
Level 1: Basic
- Health check endpoint exists and is monitored
- Error rate tracked and alerted on
- Basic uptime monitoring (is it responding?)
Level 2: Operational
- Four golden signals dashboarded per service
- Alerts have runbooks
- Deploy markers on graphs
- Log aggregation searchable
Level 3: SLO-Driven
- SLOs defined for user-facing services
- Error budget tracking and burn rate alerts
- Distributed tracing for request flow
- Alert noise reviewed and reduced monthly
Level 4: Proactive
- Anomaly detection on key metrics
- Capacity planning based on traffic trends
- Chaos testing validates monitoring coverage
- On-call load balanced and sustainable
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

