Prometheus Alert Correlation
Receive Prometheus alerts; correlate with related metrics to detect wide outages vs. isolated incidents — escalate systemic issues to war room, route isolated alerts to monitoring channel.
Overview
**What it does**: Webhook (Prometheus alert) → query related metrics (same service, same job) → code detects if >3 services are down (systemic) or just one → IF wide outage → LLM generates escalation summary (affected services, blast radius, recommended mitigation) → Slack to #incident-war-room. **Setup (5 steps)**: 1. Configure Prometheus alertmanager: add webhook receiver → n8n webhook URL 2. Connect to Prometheus query API: provide endpoint (http://prometheus:9090) 3. Set correlation threshold: default 3+ failed services = systemic 4. Configure Slack channels: #incident-war-room for critical, #monitoring for routine 5. Test: trigger test alert in Prometheus; verify it appears with correlation analysis **Apps/nodes**: Prometheus (alertmanager webhook + query API), Slack, OpenAI (LLM analysis). **Credentials required**: Prometheus access (may be unauthenticated on local), Slack workspace, OpenAI account. **Difficulty**: High | **Setup time**: 15 minutes. **Business outcome**: On-call engineers instantly know "is this my problem or systemic?" → faster escalation decisions, incident comms ↑ clarity.
What's included
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Frequently Asked Questions
How do I import this workflow into n8n?
What credentials do I need to provide?
Are the credentials included in the JSON file?
Can I edit or customize the workflow after importing?
What n8n version is required?
What if something breaks after I import it?
Can I use this workflow for my customers or business?
Will the workflow receive updates?
Do I need n8n Pro or a paid plan?
Can I ask for a custom workflow?
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in Monitoring
Cron Job Failure Watchdog
Monitor cron job heartbeats; on failure, LLM summarizes what failed, when it last ran, and recovery steps — escalate to #batch-jobs.
Database Backup Verification
Daily: verify latest DB backup exists, completed successfully, and is recent (<24h old) — flag stale or failed backups to #databases.
Error Budget Burn Alert
Hourly check: if error budget burn rate exceeds 50%, escalate to the on-call engineer with burn %, incident rate, and time to exhaustion.