...

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

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

     1global:
     2  opsgenie_api_key: asd132
     3  opsgenie_api_key_file: '/global_file'
     4route:
     5  group_by: ['alertname', 'cluster', 'service']
     6  group_wait: 30s
     7  group_interval: 5m
     8  repeat_interval: 3h
     9  receiver: escalation-Y-opsgenie
    10  routes:
    11    - match:
    12        service: foo
    13      receiver: team-X-opsgenie
    14receivers:
    15  - name: 'team-X-opsgenie'
    16    opsgenie_configs:
    17      - responders:
    18          - name: 'team-X'
    19            type: 'team'
    20  - name: 'escalation-Y-opsgenie'
    21    opsgenie_configs:
    22      - responders:
    23          - name: 'escalation-Y'
    24            type: 'escalation'
    25        api_key: qwe456

View as plain text