May 2019
Intermediate to advanced
442 pages
11h 36m
English
At the time of writing, there are integrations for three chat services: Slack, WeChat, and HipChat. The following example represents the configuration for the Slack integration; later in this chapter, we'll provide a more in-depth customization overview for this kind of integration:
global: slack_api_url: 'https://hooks.slack.com/services/TOKEN'route: receiver: 'default'receivers:- name: 'default' slack_configs: - channel: '#alerting'
The slack_api_url should point to a Slack Incoming Webhooks URL. You can find out more by going to their documentation about this subject at https://api.slack.com/incoming-webhooks. Since slack_configs is a list, you can specify multiple channels on a single receiver.
Read now
Unlock full access