TF
Size: a a a
TF
KZ
S
ST
IV
AL
KZ
IV
IV
AL
KZ
KZ
S
- alert: DistributedConnectionExceptions
expr: increase(chi_clickhouse_event_DistributedConnectionFailTry[1m]) > 0 or increase(chi_clickhouse_event_DistributedConnectionFailAtAll[1m]) > 0
labels:
severity: high
annotations:
identifier: "{{ $labels.hostname }}"
summary: "Distributed connections fails occurred"
description: |-
`{{ $labels.hostname }}` in namespace `{{ $labels.exported_namespace }}`
`increase(chi_clickhouse_event_DistributedConnectionFailTry[1m])` = {{ with printf "increase(chi_clickhouse_event_DistributedConnectionFailTry{hostname='%s',exported_namespace='%s'}[1m])" .Labels.hostname .Labels.exported_namespace | query }}{{ . | first | value }} errors{{ end }}
`increase(chi_clickhouse_event_DistributedConnectionFailAtAll[1m])` = {{ with printf "increase(chi_clickhouse_event_DistributedConnectionFailAtAll{hostname='%s',exported_namespace='%s'}[1m])" .Labels.hostname .Labels.exported_namespace | query }}{{ . | first | value }} errors{{ end }}
WA
S
WA
ST
AN
AN
- alert: DistributedConnectionExceptions
expr: increase(chi_clickhouse_event_DistributedConnectionFailTry[1m]) > 0 or increase(chi_clickhouse_event_DistributedConnectionFailAtAll[1m]) > 0
labels:
severity: high
annotations:
identifier: "{{ $labels.hostname }}"
summary: "Distributed connections fails occurred"
description: |-
`{{ $labels.hostname }}` in namespace `{{ $labels.exported_namespace }}`
`increase(chi_clickhouse_event_DistributedConnectionFailTry[1m])` = {{ with printf "increase(chi_clickhouse_event_DistributedConnectionFailTry{hostname='%s',exported_namespace='%s'}[1m])" .Labels.hostname .Labels.exported_namespace | query }}{{ . | first | value }} errors{{ end }}
`increase(chi_clickhouse_event_DistributedConnectionFailAtAll[1m])` = {{ with printf "increase(chi_clickhouse_event_DistributedConnectionFailAtAll{hostname='%s',exported_namespace='%s'}[1m])" .Labels.hostname .Labels.exported_namespace | query }}{{ . | first | value }} errors{{ end }}
AN
for
в алерт чтоб отсчеть false positive (если это актуально для алерта)