Slack

Setup Slack to receive notifications and alerts.

Set up

1. Visit Admin → Connections and click New connection

Lenses.io Connection

2. Select Slack

Slack Connection

3. Provide a name and configuration

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

Slack Connection

Add channel

Next add one or multiple target Slack channels.

1. Visit Admin → Channels and click Slack

Slack channel

2. Setup the configuration options

Slack details

For example the above will create the DevOps Slack, that is using the Slack connection to post to the #devops channel using the alerting username.

Do not forget to prepend the Slack channel name with a #.

An example

If for example you create a rule to send infrastructure notifications to Slack, then the moment a Broker becomes offline you will be notified:

Slack details

Additional info

Users with the alert permission can create alert rules.