X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprometheus%2Frules%2Fiank.yml;fp=filesystem%2Fetc%2Fprometheus%2Frules%2Fiank.yml;h=47012ccbcb74b20f517f825d1cc327fd70fe2c0d;hb=c5021d1e8ad29f946b28d7a22d959e691e28bf32;hp=0049743f24e0a2b349b643ff167c24d0dcf8abeb;hpb=e767d65da4b66c914d6685a7eaa2d791429aea8c;p=distro-setup diff --git a/filesystem/etc/prometheus/rules/iank.yml b/filesystem/etc/prometheus/rules/iank.yml index 0049743..47012cc 100644 --- a/filesystem/etc/prometheus/rules/iank.yml +++ b/filesystem/etc/prometheus/rules/iank.yml @@ -199,7 +199,7 @@ groups: # 19 for 19 minutes, but I make it 18 just to give a bit of slack. - alert: historical_missing_metric expr: |- - count_over_time(up{job="prometheus"}[19m]) <= 18 unless on() present_over_time(ALERTS[19m]) unless on() time() - node_boot_time_seconds{instance="kdwg:9101"} <= 60 * 17 + count_over_time(up{job="prometheus"}[19m]) <= 18 unless on() present_over_time(ALERTS[19m]) unless on() time() - node_boot_time_seconds{instance="kd"} <= 60 * 17 labels: severity: warn