authorization:
  acl:
    silences: /etc/acls.yaml
alertmanager:
  interval: 10s
  servers:
    - cluster: HA
      name: ha1
      uri: "http://localhost:9093"
      timeout: 10s
      proxy: true
      cors:
        credentials: same-origin
    - cluster: HA
      name: ha2
      uri: "http://localhost:9094"
      timeout: 10s
      proxy: true
      cors:
        credentials: same-origin
    - name: single
      uri: "http://localhost:9095"
      timeout: 10s
      proxy: true
      cors:
        credentials: same-origin
      healthcheck:
        filters:
          DeadMansSwitch:
            - alertname=Random Instances
            - instance=server10

alertAcknowledgement:
  enabled: true
  duration: 15m0s
  author: karma-ack
annotations:
  hidden:
    - help
  actions:
    - docs
debug: true
filters:
  default:
    - "@cluster=HA"
    - "@receiver=by-cluster-service"
grid:
  sorting:
    order: label
    reverse: false
    label: cluster
    customValues:
      labels:
        cluster:
          prod: 1
          staging: 2
          dev: 3
        severity:
          critical: 1
          warning: 2
          info: 3
  auto:
    order:
      - severity
      - cluster
    ignore:
      - region
history:
  enabled: true
  timeout: 5s
  workers: 5
karma:
  name: karma-demo
labels:
  order:
    - instance
    - job
  color:
    static:
      - job
    unique:
      - cluster
      - instance
      - "@receiver"
      - "@cluster"
    custom:
      "@cluster":
        - value: HA
          color: "#70e1e1"
        - value: single
          color: "#ff6347"
      region:
        - value_re: ".*"
          color: "#736598"
      severity:
        - value: info
          color: "#87c4e0"
        - value: warning
          color: "#ffae42"
        - value: critical
          color: "#ff220c"
  valueOnly:
    - alertname
    - severity
    - job
    - region
    - "@cluster"
log:
  config: false
  level: warning
silences:
  comments:
    linkDetect:
      rules:
        - regex: "(DEVOPS-[0-9]+)"
          uriTemplate: https://jira.example.com/browse/$1
silenceForm:
  strip:
    labels:
      - job
      - severity
      - region
ui:
  refresh: 10s
  hideFiltersWhenIdle: true
  colorTitlebar: false
  theme: auto
  animations: true
  minimalGroupWidth: 420
  alertsPerGroup: 5
  collapseGroups: collapsedOnMobile
  multiGridLabel: severity
  multiGridSortReverse: false
