Hi, I’m trying to define alerting condition if count of Metric A does not match count of Metric B. As you can see in the below attached image, the count is unequal - (metric A:3 and metric B:4) and that is when I need to trigger an alert. I’m using Elasticsearch datasource and I want to do something like:
WHEN count() query(A,5m,now) IS ABOVE “query B”
WHEN count() query(A,5m,now) IS BELOW “query B”
- Currently, it only takes numerical values. Is there a way to do it in some other way?
- Also, I get the error message datasource does not support alerting queries even though I’m using elasticsearch. Is there a reason for that?
- I’ve already bucketed the datapoints in Metric for 1h. Still why do I need to
specify the timerange in alert condition? I need alerting for the same 1h period.