AlertManager¶
Forward Prometheus alerts from AlertManager directly to Robusta.
Prerequisites¶
A Robusta account with API access.
Your Robusta
account_id, found ingenerated_values.yaml.A Robusta API key with
Read/Writeaccess to alerts, generated under Settings → API Keys → New API Key.
Webhook URL¶
https://api.robusta.dev/webhooks?type=alert&origin=alertmanager&account_id=<ACCOUNT_ID>
Configure AlertManager¶
Add a webhook receiver to alertmanager.yml:
receivers:
- name: robusta
webhook_configs:
- url: 'https://api.robusta.dev/webhooks?type=alert&origin=alertmanager&account_id=<ACCOUNT_ID>'
send_resolved: true
http_config:
authorization:
type: Bearer
credentials: <ROBUSTA_API_KEY>
route:
receiver: robusta
continue: true
Set continue: true if Robusta is not your only receiver, so alerts also reach your other destinations.
Verify¶
Open Settings → Delivery Log in the Robusta UI to see the request arrive, then check the timeline for the parsed alert.