Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Observability, SLO & Alerting-as-Code Pack

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Observability, SLO & Alerting-as-Code Pack

    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

    RuleSeverityLocationFindingRemediation
    OBS-001Criticalalerts.yaml:12High-cardinality label user_id used in PromQL groupingDrop user_id from metric labels; attach trace_id via Exemplars
    OBS-002Highalerts.yaml:18Alert HighErrorRate missing for: duration (flapping risk)Add for: 5m or replace with multi-window burn-rate rule
    OBS-003Highalerts.yaml:24Alert missing runbook_url and severity labelAdd severity: page and direct runbook link
    OBS-004Highalerts.yaml:31severity: critical paging directly on raw container_cpu_usage > 80%Demote CPU to ticket; page on user-facing 5xx/latency burn
    OBS-005Highalerts.yaml:1No multi-window SLO error-budget burn-rate pairAdd 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 missing for: duration (causing single-scrape flapping pages).
    • OBS-003 (High): Alerts missing severity labels or runbook_url / description annotations.
    • 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, missing by (...) aggregation, bare absent()).
    • 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 PrometheusRule pack for checkout-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-on CI gate, JSON/Markdown output)
    • references/ — Google SRE burn-rate matrices (99.9% / 99.95% / 99.99%), RED/USE & OTel cardinality guide, and rule catalog
    • templates/ & examples/ — Audit report template, verified Grade-A prometheus-slo-rules.yaml, and worked checkout-api overhaul
    • tests/ — 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 K8s kind: 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files

    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.

    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill replaces noisy, threshold-based alerts with Google SRE-style multi-window burn-rate SLOs. It uses deterministic analysis to eliminate alert fatigue by ensuring you only get paged when your actual service-level objectives and error budgets are at risk.

    The skill performs a static, read-only audit of your repository's PrometheusRule CRDs, Grafana JSONs, Kubernetes manifests, and application source code. It is designed to strictly ignore secrets and credentials, ensuring your sensitive data remains secure while it analyzes your PromQL logic and label cardinality.

    Yes, the skill is framework-agnostic within the Prometheus ecosystem, supporting OpenTelemetry and Prometheus client libraries for Go, Python, TypeScript, Java, Ruby, and Rust. It specifically looks for cardinality traps and anti-patterns within these application metric implementations.

    You receive the full static analysis engine, a maturity scoring module, and a generator that produces mathematically precise multi-window alerting rules. It also includes a findings table and a phased rollout plan for applying recommended PromQL and manifest improvements.

    While LLMs often struggle with the complex math of burn-rate formulas, this skill uses a specialized Python analyzer to calculate precise 14.4x, 6x, and 3x thresholds. This ensures your alerting logic is mathematically sound and tailored to your specific reliability targets without the risk of 'hallucinated' metric names.

    New in DevOps & Cloud