...

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

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

     1global:
     2  victorops_api_key: asd132
     3  victorops_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: team-Y-victorops
    10  routes:
    11    - match:
    12        service: foo
    13      receiver: team-X-victorops
    14receivers:
    15  - name: 'team-X-victorops'
    16    victorops_configs:
    17      - routing_key: 'team-X'
    18  - name: 'team-Y-victorops'
    19    victorops_configs:
    20      - routing_key: 'team-Y'
    21        api_key: qwe456

View as plain text