observability-slo-and-alerting
Skill8 starsChanged 5 months agoMITView on GitHub
Define and operate SLIs, SLOs, error budgets, dashboards, alerts, telemetry correlation, and deployment verification. Use when onboarding a service, changing monitoring, tuning alerts, reviewing reliability, diagnosing a production issue, or deciding whether release velocity must be reduced.
In this repository60 other files it gives its agents.
- animejsSkill
- sketch-animation-videoSkill
- sound-fx-for-videoSkill
- content_series_infographicSkill
- tech-article-seriesSkill
- agent-team-harnessSkill
- ai-agent-collaboration-standardSkill
- ci-cd-workflow-specSkill
- config-as-code-specSkill
- execution-ownership-migrationSkill
- feature-lane-release-workflowSkill
- generation-upgrade-acceptanceSkill
- gitops-canonical-resource-deliverySkill
- harness-workflowSkill
- infrastructure-as-code-specSkill
- issue-pr-traceability-standardSkill
- multi-environment-delivery-and-releaseSkill
- project-development-standardSkill
- store-and-startup-homepage-specSkill
- zero-trust-overlay-deliverySkill
- it-infra-continuous-pngSkill
- image-svg-pptx-proSkill
- autoglm-websearchSkill
- blogwatcherSkill
- Browser AutomationSkill
- docxSkill
- find-skillsSkill
- image-cogSkill
- image-resizerSkill
- pdfSkill
- pptxSkill
- Self-Improving Agent (With Self-Reflection)Skill
- skill-security-checkSkill
- skill-vetterSkill
- video-translatorSkill
- wan-image-video-gen-editSkill
- xlsxSkill
- backup-disaster-recovery-and-data-migrationSkill
- capacity-cost-and-resource-lifecycleSkill
- github-actions-operational-dispatchSkill
- incident-response-and-change-managementSkill
- network-dns-tls-edge-managementSkill
- secrets-identity-and-access-governanceSkill
- service-catalog-and-runbook-standardSkill
- system-db-three-role-securitySkill
- unified-observability-architectureSkill
- vault-eso-tls-certificate-governanceSkill
- ai-tech-news-videoSkill
- ai-ti-wo-shuo-explainerSkill
- it-infra-evolution-videoSkill
- it-infra-evolution-video-v2Skill
- product-intro-videoSkill
- swimlane-videoSkill
- video-understandingSkill
- ai-news-md-digestSkill
- article-to-image-seriesSkill
- content-pdf-with-imagesSkill
- evolutionary-social-copy-packSkill
- image-series-to-videoSkill
- research-to-slide-deckSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 22
Keep a dashboard for golden signals and dependencies: traffic, errors, latency, saturation, resource capacity, background-job freshness, …
- Distinctive: line 32
Every page needs an owner, escalation path, symptom, impact threshold, dashboard link, runbook, and a clear resolve condition.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Observability, SLO, and Alerting
Measure user-visible outcomes, not merely process liveness. Alerts must be actionable, attributable, and linked to an owner and runbook.
Reference basis: Google SRE error-budget policy for release/reliability decisions, and OpenTelemetry log correlation for connecting logs, traces, and metrics through shared execution and resource context.
1. Service reliability contract
For each production service, declare owner, users/journey, critical dependencies, SLI source, SLO target/window, error-budget policy, alert thresholds, dashboard, and runbook. Choose SLIs that reflect the service: availability, latency, correctness, freshness, saturation, or successful asynchronous delivery.
An SLO without a measurable query, owner, and response policy is documentation, not an operational control. Use error-budget consumption to decide release velocity, canary progression, and reliability work priority.
2. Telemetry design
- Emit metrics, logs, and traces with consistent service, environment, revision/digest, region, and instance/resource identity.
- Propagate trace context and include trace/span identifiers in logs where supported. Do not put credentials, raw personal data, database connection strings, or high-cardinality unbounded values in labels.
- Keep a dashboard for golden signals and dependencies: traffic, errors, latency, saturation, resource capacity, background-job freshness, DNS/TLS expiry where relevant, and deploy/change markers.
3. Alert policy
| Severity | Meaning | Required response |
| Page | Active or imminent user/data/security impact | On-call acknowledgement, incident path, runbook |
| Ticket | Action needed but not urgent | Owner, due date, trend/watch query |
| Info | Context or audit event | No human interruption by default |
Every page needs an owner, escalation path, symptom, impact threshold, dashboard link, runbook, and a clear resolve condition. Test alert routing and silence expiry. Avoid alerts that only report a known deployment or lack a response action.
4. Deploy and incident verification
Before a production rollout, define the baseline and success/error signals. During rollout, compare the promoted revision with baseline SLI, logs/traces, and dependency health. After rollout, record the observation window and rollback threshold. A deployment is not successful because the workflow exited zero; it must meet the declared service health criteria.
Review noisy, missing, and stale alerts after incidents. Link material incidents to SLO/error-budget impact and corrective work.
Canary metric acceptance
- Query the configured backend from the release controller's network and authentication context. Check scrape health and freshness, then run the actual canary query with the deployed labels, template parameters and time window. A successful query for
upor a constant only establishes scrape health or API reachability. - Verify that stored series identify the environment, route or service, and primary versus candidate. Use a distinct label for the scrape target so it does not overwrite the application's backend identity. For Prometheus-compatible scraping, compare raw exposition with stored labels and check for a renamed
exported_servicewhen a targetservicelabel collides. Confirm the stored identity maps to the intended backend before changing the query. Prometheus scrape configuration - Verify a positive candidate request count and a finite result from the configured error-rate query. Set a minimum sample count appropriate to the service and window. Missing, stale, ambiguous or insufficient samples, and a zero denominator, must block advancement. Exercise these conditions and the configured failure threshold in SIT before relying on automated promotion. Record the request sample, query result, weight and outcome. Flagger metrics analysis
An independently released monitoring service may upgrade in place under the engineering UI/API/DB release policy when it neither owns business/billing state nor participates in business accounting or shares its persistent storage. Update only that monitoring unit's immutable pin; validate collection freshness, ingest/query continuity, dashboards, and alerts against baseline. Retain a recoverable backup and restore procedure for monitoring storage affected by the upgrade. Reverting the artifact alone does not reverse stored-data changes. Business databases, billing collectors/ledgers, and SQL schema transitions cannot use this monitoring exception.
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.

