Bipul Kumar
06/16/2023, 7:05 AM## Using the config, alertmanager.yml file is created.
## We no longer need the config file as query services
## delivers the required config.
# config:
# global:
# resolve_timeout: 1m
# slack_api_url: '<https://hooks.slack.com/services/xxx>'
# templates:
# - '/etc/alertmanager/*.tmpl'
# receivers:
# - name: 'slack-notifications'
# slack_configs:
# - channel: '#alerts'
# send_resolved: true
# icon_url: <https://avatars3.githubusercontent.com/u/3380462>
# title: '{{ template "slack.title" . }}'
# text: '{{ template "slack.text" . }}'
# route:
# receiver: 'slack-notifications'
Pocho POV
09/06/2023, 5:39 PM