Configuring Slack alerts
As an administrator, you can configure alerts to be sent to Slack.
Before you begin
To enable Slack alerts, an administrator must provide a webhook URL, which can be set up to receive notifications on a channel.
Procedure
When the webhook URL is available, you can use the following command:
curl -X POST '<https://<my-deployment-url>/zen-watchdog/v1/monitoring/config/slack>' \
-F webhook=<webhook URL> \
-H 'Authorization: ZenApiKey ${MY_TOKEN}'
Parameter | Type | Description |
---|---|---|
webhook | String |
The URL of the webhook to post to a Slack channel. |
For more information, see Configure Slack.