This repo will spin up alertmanager for an Obol DV, and is configured to send messages when a prometheus scrape target is unavailable to a discord webhook. Other alert methods are possible, and multiple Receivers can be configured.
- Edit the
./alertmanager-discord/config.yaml
file and replace$DISCORD_WEBHOOK_URL
with your own.
- How to create a webhook here.
docker compose up -d
Edit ./prometheus/rules.yml
and add alerts. By default it will alert after 1 minute if a prometheus scrape target is unavailable.