Slack alert channel
To send alert notifications from Instana to Slack in real time, create a Slack alert channel.
Creating a Slack alert channel
To create a Slack alert channel, click Settings > Team Settings > Events & Alerts > Alert Channels > Add Alert Channel in the Instana UI.
Add the Slack Webhook URL, which you can create in Slack by clicking Browse apps > Custom Integrations > Incoming Webhooks.
If the Slack Webhook URL is not specified, the Slack integration posts to the channel that is configured on the Slack side, and you can override the channel and user icon by configuring it on the Instana side.
Alerting examples
After you create the alert channel, alerts for the following events are received as an HTTP POST
to the configured Slack Webhook URL (HTTP or HTTPS), the address which the alerts will be sent to.
See the following examples:
On open issues or incidents
On close issues or incidents
Slack App
Additional information on Instana links in Slack
To get a preview of instana.io
URLs that are sent in Slack, install the Instana Slack App.
Prerequisites
It is mandatory to have a valid logged in Instana session during the installation process of the Instana Slack App.
Install
The installation process starts with clicking the Add to Slack button as follows. After you grant access to read:links
and write:links
, you are forwarded to a tenant selection page where you choose
the tenants unfurling should apply to. For all selected tenants, a new API token with the name Slack Token
is generated. This token is used to resolve desired preview information.