Using Grafana 7.5.3 on GKE.
Having two metrics representing the number of microseconds related to cpus of a system:
#A for idle (hidden) ==> tgds.systems.ocins.tgds23.cpu.time.idle.*.CPU-UTILIZATION
#B for alive (hidden) ==> tgds.systems.ocins.tgds23.cpu.time.alive.*.CPU-UTILIZATION
#C formula to print cpu usage ==> scale(divideSeriesLists(diffSeriesLists(#B, #A), #B), 100)
So far so good, it prints as expected the percentage of cpu utilization.
But setting an Alert with condition WHEN max() OF query(C,5m,now) IS ABOVE 40 does not work properly. Below the output of Test Rule, the second instance of #B does not seem to be correctly replaced, what am I doing wrong ?