Hi Team,

Any suggestion is very much appreciated.

I have an alert for breach of 95 percentile threshold on API requests. Now 
problem is, different API requests has different threshold, so I cannot 
hard code the alerts as I would have to add 10 alerts for 10 different APIs 
with their thresholds. 

The alerts would like something like this
es_exporter_percentiles_values_95_0{httppath="path1",app="app1"} > 10
es_exporter_percentiles_values_95_0{httppath="path2",app="app2"} > 5
es_exporter_percentiles_values_95_0{httppath="path3",app="app3"} > 3

Doesn't want to use or as again wanted to do this in a better smarter way. 
Tried using recording rules, but that would result in adding recording 
rules for 20 apps * 4 env * 5 http paths. 

Any better way, so that I have only one alert definition but can be applied 
against all apps, paths and envs. 

Thanks
Eswar


-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c93fbde9-1633-4fda-9a1d-e603875e9e2an%40googlegroups.com.

Reply via email to