resolv.conf solved!

This commit is contained in:
hogweed1
2025-02-06 02:20:33 +10:00
parent fe33aee2fe
commit 4ba0cadf07
31 changed files with 1296 additions and 530 deletions

View File

@@ -0,0 +1,14 @@
groups:
- name: node-exporter-rules
rules:
# CPU count
- record: instance:node_cpus:count
expr: count(node_cpu_seconds_total{mode="idle"}) without (cpu,mode)
#взято отсюда
# https://stackoverflow.com/questions/52480567/count-alerts-fired-by-prometheus
- name: alerts
rules:
- record: ALERTS_FOR_STATE:firing
expr: ALERTS_FOR_STATE and ignoring(alertstate) ALERTS{alertstate="firing"}