Alertmanager

Setup Prometheus to receive notifications and alerts.

Set up

1. Visit Admin → Connections and click New connection

Lenses.io Connection

2. Select Prometheus

Prometheus Connection

3. Provide a name and configuration

You can also optionally add tags (i.e. dev) and for the URL endpoint check Prometheus AlertManager Help

Prometheus Connection

Add channel

Next add one or multiple target Prometheus channels.

1. Visit Admin → Channels and click Prometheus

Prometheus channel

2. Setup the configuration options

Prometheus details

For example the above will create the Prometheus DevOps, that is using the prometheus connection, with PROD source and http://lenses_prod:1000 as generator URL to post alerts to Prometheus AlertManager.

An example

If for example you create a rule to send infrastructure notifications to Prometheus, then the moment a Zookeeper Broker becomes offline you will be notified inside the AlertManager UI.

Prometheus Zookeeper down example

A short video

Watch this short video that guides you to create a Prometheus AlertManager connection and respective alert channel.

Additional info

Users with the alert permission can create alert rules .