Create an incoming webhook in Slack
Before creating a Slack notifier in Observability Platform, create an incoming webhook in Slack. See Sending messages using incoming webhooks in the Slack documentation for more information.Create a Slack notifier in Observability Platform
After creating an incoming webhook in Slack, you can create a Slack notifier in Observability Platform. You can use variables in your notifiers.- Web
- Chronoctl
- Terraform
- API
To create a Slack notifier:
- In the navigation menu select Alerts > Notifiers.
- Click Create notifier.
- Enter a descriptive name for the notifier.
- Select Slack as the type of notifier you want to create.
-
In the API URL field, enter the URL you created for your webhook in Slack,
which is called as a
POSTrequest. For example:The API URL from Slack contains the channel name. - The Channel field is deprecated and doesn’t affect the notifier. A channel name is still required in this field until the field is fully removed.
- Optional: In the Username field, enter the Slack username to post the notifier as.
- Optional: Select Notify when resolved to send a resolved alert notification.
- Click Save.