Files
zulip/zerver/webhooks/alertmanager/doc.md
Lauryn Menard 7ec3f235de integration-docs: Update Prometheus Alertmanager for new doc format.
Also, revises text of `name` and `desc` URL parameters to be clearer
and note the default values that are used for the integration.

Part of #29592.
2024-07-05 15:27:06 -07:00

1.2 KiB

Zulip Prometheus Alertmanager integration

Get Zulip notifications from Prometheus Alertmanager!

{start_tabs}

  1. {!create-channel.md!}

  2. {!create-an-incoming-webhook.md!}

  3. {!generate-webhook-url-basic.md!}

  4. 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!}

Configuration options

  • 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!}