...

Text file src/github.com/prometheus/alertmanager/config/testdata/conf.slack-both-file-and-url.yml

Documentation: github.com/prometheus/alertmanager/config/testdata

     1global:
     2  slack_api_url: "http://mysecret.example.com/"
     3  slack_api_url_file: '/global_file'
     4route:
     5  receiver: 'slack-notifications'
     6  group_by: [alertname, datacenter, app]
     7receivers:
     8  - name: 'slack-notifications'
     9    slack_configs:
    10      - channel: '#alerts1'
    11        text: 'test'

View as plain text