Prometheus Alertmanager

Monitoring

Back to listBack

Zulip Prometheus Alertmanager integration

Get Zulip notifications from Prometheus Alertmanager!

  1. Create a bot for Prometheus Alertmanager. Make sure that you select Incoming webhook as the Bot type.

  2. Decide where to send Prometheus Alertmanager notifications, and generate the integration URL.

  3. In your Alertmanager config, set up a new webhook receiver, like so:

    - name: ops-zulip
      webhook_configs:
        - url: "<the URL generated above>"

You're done! Your Prometheus Alertmanager notifications may look like this:

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.

Connect the receiver to the appropriate route in your Alertmanager configuration. Use the organization's own HTTPS URL and a separate bot for each organization. The URL's api_key is a bot credential, not a storage or backup encryption key for BYOK. Protect the configuration and avoid exposing the full URL in public logs. SaaS, hybrid and on-premises senders need network access to that endpoint; source links require reader access to monitoring.

When both labels and annotations contain a requested field, labels take precedence. The receiver groups alerts by topic and separately by firing and resolved. Its current implementation does not pass an event type to the shared sender, so only_events and exclude_events do not filter these states. Use Alertmanager routing to select alerts. A successful webhook response does not prove that the recipient read the notification.

Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.