zerver/webhooks/alertmanager/doc.md
Get Zulip notifications from Prometheus Alertmanager!
{start_tabs}
{!create-an-incoming-webhook.md!}
{!generate-webhook-url-basic.md!}
In your Alertmanager config, set up a new webhook receiver, like so:
- name: ops-zulip
webhook_configs:
- url: "<the URL generated above>"
{end_tabs}
{!congrats.md!}
You can specify a field defined in your alerting rules (for labels
and/or annotations) that will be used to group alerts with the same
status into a single alert message in Zulip by appending a name
parameter to the generated URL, e.g., &name=severity. The default
name value used in the integration is instance.
You can specify a field defined in your alerting rules (for labels
and/or annotations) that will be used in the alert message text in
Zulip by appending a desc parameter to the generated URL, e.g.,
&desc=description. The default desc value used in the
integration is alertname.
{!webhooks-url-specification.md!}