Hi,
I am trying to add alert for monitoring,
and here are the condition:
- Trigger an alert when more than X% of the volume in an SVM has a latency higer than Yms.
And here is what I tried in Grafana alert:
- count(volume_avg_latency{} >30)/count(volume_avg_latency{})*100
To calculate the percentage of volume latency over 30ms - $A > 15
To trigger the alert if the percentage is over 15%
Is this a recommended method, or should I use Prometheus AlertManager instead?