- Home
- Skills
- DevOps & Cloud
- Prometheus Alerting Baseline and SLO Burn Rates
More screenshots
Works with the AI Agents you already use
Prometheus Alerting Baseline and SLO Burn Rates
Alerts verified against your own Prometheus, unit-tested and deployed with rollback.
$19
Prometheus Alerting Baseline and SLO Burn Rates
Example session with this skill installed
Request: "Our alert rules were written by an LLM and half of them never fire. Check them and give us a proper baseline for hosts and Postgres."
- Read your context and instructions
- Compiled the prometheus alerting baseline
The agent lints the existing rules first
$ scripts/rules_check.py alerts/llm-generated.rules.yml
WARNING range-too-short llm/HighCpu rate() over [1m] is < 4x scrape interval (30s); gaps make it return nothing.
WARNING rate-on-gauge llm/HighCpu rate() applied to 'node_cpu_usage_percent', which does not look like a counter.
ERROR no-severity llm/HighCpu Missing labels.severity; routing in Alertmanager depends on it.
WARNING critical-no-for llm/PgDown Critical alert with for: 0 pages on transient blips.
WARNING rate-on-gauge llm/GaugeRate rate() applied to 'node_memory_MemAvailable_bytes'.
Summary: 4 rule(s), 1 error(s), 10 warning(s), 4 info
Then it generates a replacement baseline from exporter metric names verified on real node_exporter and postgres_exporter:
$ scripts/generate_baseline.py --out-dir ./alerts --systemd --backup-metric --slo-service api --slo-selector 'job="api"'
wrote ./alerts/baseline-node.rules.yml
wrote ./alerts/baseline-postgres.rules.yml
wrote ./alerts/baseline-slo.rules.yml
$ scripts/rules_check.py --strict alerts/*.rules.yml
Summary: 35 rule(s), 0 error(s), 0 warning(s), 0 info
Result: 19 host alerts, 8 PostgreSQL alerts and 3 SLO burn-rate alerts with promtool unit tests. With --prometheus the agent confirms every metric exists on your server before deploy_rules.sh backs up the old file, reloads and rolls back automatically on failure.
Connects securely to your tools. The creator never sees your data.
About this skill
Prometheus alerts that actually fire: a host and PostgreSQL baseline built on exporter metric names verified against real exporters, SLO burn-rate alerts, promtool unit tests, live verification against your server, and deploy with auto-rollback.
Why this instead of a free prompt
Free skills ask the model to "be careful". These ship executable gates: a migration that would lock a busy table fails the linter; an alert that references a metric your Prometheus does not have fails verification; a Compose rollout that turns unhealthy rolls itself back. Every script was run against real PostgreSQL 16, Docker 29, ansible-core and Prometheus with node_exporter and postgres_exporter before release.
How it keeps you safe
- Read-only pre-flight first: diagnostics that change nothing.
- Dry-run by default. Anything that changes state needs an explicit apply step and a typed confirmation.
- Rollback built in, and guardrails that refuse unsafe input.
- No secrets printed in output.
Requirements
Python 3.8+ (PyYAML for YAML rule files), promtool, curl. Runs on RHEL/AlmaLinux 8+ and Debian 11+/Ubuntu 20.04+.
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.
Not for: dashboards, log pipelines or commercial monitoring suites. Requires Python 3.8+ (PyYAML for YAML rule files), promtool and curl on Linux (RHEL/AlmaLinux 8+, Debian 11+/Ubuntu 20.04+).
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 5 days ago
- Software
Python 3.8+promtoolcurl