route:
  group_by: ['alertname']
  group_interval: 30s
  repeat_interval: 6h
  group_wait: 30s
  receiver: 'netgo_msteams_receiver'
  routes:
    - receiver: 'netgo_msteams_receiver'
      match:
        stage: '{{ stage }}'
    - receiver: 'netgo_email_receiver'
      match:
        receiver: email

receivers:
- name: 'netgo_msteams_receiver'
  webhook_configs:
    - send_resolved: true
      url: 'http://{{ prom2teams_id }}:8089/v2/NetgoTeamsConnector'

- name: 'netgo_email_receiver'
  email_configs:
  - to: '{{ devops_email_address }}'
    from: 'prometheus_{{ stage }}@smardigo.digital'
    smarthost: '{{ shared_service_mail_hostname }}:25'
    auth_username: ''
    auth_identity: ''
    auth_password: ''
    require_tls: false
