Prometheus Alertmanager
Send Prometheus alerting rules to Rocketgraph through an Alertmanager receiver, and get one ticket per storm.
Alertmanager posts to a webhook URL that belongs to your organisation. Rocketgraph groups alerts that belong together into one storm, remembers what fired before, and files one ticket per storm in your connected trackers.
Connect
- Open Connect and click Prometheus Alertmanager under Alert sources.
- Copy the Receiver snippet. It already has your webhook URL in it:
yaml
receivers:
- name: rocketgraph
webhook_configs:
- url: <your webhook URL>
send_resolved: true
- Add it to alertmanager.yml, route alerts to it, and reload Alertmanager.
Keep send_resolved on so tickets learn when a storm is over.
The panel says Waiting for the first alert until one arrives, then Receiving with the time of the last one.
What Rocketgraph reads
Nothing. Alertmanager sends to Rocketgraph. From each alert in the payload it uses:
- The
alertnamelabel as the title. - The service, from the first of these labels it finds:
service,service_name,service.name,app,app_kubernetes_io_name,application,job,container. - The
severityorprioritylabel. - The
descriptionorsummaryannotation. - The
generatorURLlink. - The
fingerprint, to recognise a repeat of the same alert. status, so a resolved alert closes out.
Known limits
- The body must be JSON and under 1 MB.
- Anyone with the webhook URL can send alerts to your organisation. Keep it private.
Disconnect
Remove the rocketgraph receiver from alertmanager.yml, or stop routing to it, and reload Alertmanager.