- Home
- Skills
- DevOps & Cloud
- Observability, SLO & Alerting-as-Code Pack
Works with the AI Agents you already use
Observability, SLO & Alerting-as-Code Pack
Kill alert fatigue and Prometheus cardinality bombs—audit alerting rules, Grafana dashboards, and K8s scrape configs, then ship Google-SRE multi-window burn-rate SLO rules.
$9
Observability, SLO & Alerting-as-Code Pack
Example session with this skill installed
Audit our Prometheus alerts, Grafana dashboard, and K8s manifests for checkout-api. Flag cardinality risks and alert-fatigue traps, then draft a 99.9% availability multi-window burn-rate SLO pack before editing any files.
- Read your context and instructions
- Compiled the observability slo
Observability & SLO Maturity Audit — checkout-api
Maturity Score: 0 / 100 (Grade F) · Findings: 1 Critical · 4 High · 3 Medium
| Rule | Severity | Location | Finding | Remediation |
|---|---|---|---|---|
OBS-001 | Critical | alerts.yaml:12 | High-cardinality label user_id used in PromQL grouping | Drop user_id from metric labels; attach trace_id via Exemplars |
OBS-002 | High | alerts.yaml:18 | Alert HighErrorRate missing for: duration (flapping risk) | Add for: 5m or replace with multi-window burn-rate rule |
OBS-003 | High | alerts.yaml:24 | Alert missing runbook_url and severity label | Add severity: page and direct runbook link |
OBS-004 | High | alerts.yaml:31 | severity: critical paging directly on raw container_cpu_usage > 80% | Demote CPU to ticket; page on user-facing 5xx/latency burn |
OBS-005 | High | alerts.yaml:1 | No multi-window SLO error-budget burn-rate pair | Add 14.4× fast-burn (5m/1h) + 6× slow-burn (30m/6h) rules |
Proposed Fast-Burn SLO Alert (99.9% Availability — 2% Budget in 1h)
- alert: CheckoutApiErrorBudgetFastBurn
expr: |
checkout:http_errors:ratio_rate5m > (14.4 * 0.001)
and
checkout:http_errors:ratio_rate1h > (14.4 * 0.001)
for: 2m
labels:
severity: page
service: checkout-api
annotations:
summary: "checkout-api burning >2% of 30d error budget per hour"
runbook_url: "https://docs.internal/runbooks/checkout-api#slo-burn"
Next Steps (Approval Required)
Reply
"Write SLO PrometheusRule pack" to generate the Grade-A (100/100) recording & alert rules and remove the user_id cardinality bomb.
Connects securely to your tools. The creator never sees your data.
About this skill
Replace Noisy CPU Pages With Google-SRE Multi-Window SLO Burn-Rate Alerts
Observability, SLO & Alerting-as-Code Pack combines a strictly read-only Python static analyzer (scripts/audit_observability.py) with battle-tested SRE observability playbooks. Scan your Prometheus rules, PrometheusRule CRDs, Grafana dashboard JSONs, and Kubernetes/app manifests to catch TSDB cardinality bombs, flapping alerts, and missing SLO coverage—then generate copy-pasteable RED/USE metrics and multi-window burn-rate alerts.
What It Audits (8 High-Impact Rules)
OBS-001(Critical): High-cardinality metric labels (user_id,email,request_id,trace_id,session_id,uuid,ip_address) that OOM Prometheus/Mimir TSDBs.OBS-002(High): Alert rules missingfor:duration (causing single-scrape flapping pages).OBS-003(High): Alerts missingseveritylabels orrunbook_url/descriptionannotations.OBS-004(High): Symptom-less critical paging purely on raw CPU/memory utilization instead of user-facing SLO impact.OBS-005(High): Missing multi-window SLO burn-rate alert pairs (fast burn 2%/1h + slow burn 5%/6h).OBS-006(Medium): PromQL traps (rate(...[1m])short scrape windows, missingby (...)aggregation, bareabsent()).OBS-007&OBS-008(Medium): Services missing OTel/Prometheus scrape config (ServiceMonitor/prometheus.io/scrape) and Grafana dashboards with hardcoded datasource UIDs or zero error-rate panels.
How to Use
Ask your AI agent in any repo with monitoring configs or backend services:
- "Audit our Prometheus alerts, Grafana dashboards, and K8s manifests for alert fatigue and cardinality bombs."
- "Generate a 99.9% availability and p99 latency multi-window SLO burn-rate
PrometheusRulepack forcheckout-api."
Or run the read-only scanner directly:
python3 scripts/audit_observability.py --path . --format markdown
What's Inside (17 Files)
SKILL.md— Deterministic 5-step workflow with 0–100 Observability Maturity grading (A–F)scripts/audit_observability.py— Pure Python 3 stdlib analyzer (--fail-onCI gate, JSON/Markdown output)references/— Google SRE burn-rate matrices (99.9% / 99.95% / 99.99%), RED/USE & OTel cardinality guide, and rule catalogtemplates/&examples/— Audit report template, verified Grade-Aprometheus-slo-rules.yaml, and workedcheckout-apioverhaultests/— Noisy & clean monitoring fixtures + runnable unit tests
Security & Privacy Guarantee
- 100% read-only & offline — zero live Prometheus/Grafana API tokens, zero network calls, zero
subprocess, skips.env*and K8skind: Secret.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Static analysis of Prometheus YAML, Grafana JSON, and Kubernetes/app manifests; does not execute live PromQL queries against a running TSDB.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.9+ (stdlib only)
Permissions
Bundled analyzer is 100% offline and read-only; skips .env and Kubernetes Secret files. Write Files is only used after explicit user approval to write SLO rules or dashboards.