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