Slackbot
05/04/2022, 10:25 PMMichael Slavitch
05/05/2022, 12:53 AMPranay
Michael Slavitch
05/05/2022, 12:57 AMPrashant Shahi
05/05/2022, 2:50 AMabsent
function for the expression.
absent(up{job="otel-collector"})
Michael Slavitch
05/05/2022, 3:17 AMMichael Slavitch
05/05/2022, 3:17 AMMichael Slavitch
05/05/2022, 3:28 AMalert: Host Down Generic
expr: absent(up{job="otel-collector", host_name="*"})
for: 1m
labels:
severity: critical
annotations:
summary: Host Down
description: "RPS is > 100
VALUE = {{ $value }}
LABELS = {{ $labels }}"
Prashant Shahi
05/05/2022, 3:31 AMalert: Host_Down_Generic
expr: absent(up{job="otel-collector"})
for: 0m
labels:
severity: critical
annotations:
summary: Host Down
description: "Host Down
VALUE = {{ $value }}
LABELS = {{ $labels }}"
Prashant Shahi
05/05/2022, 3:34 AMMichael Slavitch
05/05/2022, 3:35 AMMichael Slavitch
05/05/2022, 3:36 AMMichael Slavitch
05/05/2022, 3:37 AMMichael Slavitch
05/05/2022, 3:38 AMMichael Slavitch
05/05/2022, 3:45 AMMichael Slavitch
05/05/2022, 3:52 AMPrashant Shahi
05/05/2022, 3:54 AMhostname=""
for the SigNoz Otel.. while I set the hostname to the machine hostname with hostmetrics integration for specific alert,.
I use hostname!=""
for generic Otel downMichael Slavitch
05/05/2022, 3:55 AMMichael Slavitch
05/05/2022, 3:55 AMMichael Slavitch
05/05/2022, 4:13 AM