Hi,
I want to generate the High Load Average Alert, Currently I have following Alert Configuration:
rules:
- alert: High Load
expr: avg_over_time(node_load1[4m]) > 0.8
labels:
severity: Major
annotations:
description: '{{ $labels.instance }} of job {{ $labels.job }} is under high
load.'
summary: Instance {{ $labels.instance }} under high load
Problem is node_load1 is factor of number of CPUs, if there are 8 CPUs, the true load average is node_load1[4m]/8. How I can get the number of CPUs dynamically using PromQL?
Thanks,
Yasir.