Hi, I’m a new user of grafana and I need to configure an alert with an elastic search datasource. The alert is for es search latency, the query is a combined one and is a derivative. As show below:
I need to alert when the search latency is over a certain threshold, say 5 seconds, the alert is as below:
But I can not get the right result, when I run the “Test Rule”, I got some output:
state:"" conditionEvals:"false = false" timeMs:"14.763ms" logs:Array 0:Object message:"Condition: Query Result" data:Array 1:Object message:"Condition: Eval: false, Metric: primaries.search.query_time, Value: null" data:null
It seems the alert module cannot calc the final result of query A, it can just get some result from the first query which is a very large numeric number.
Can someone help me? With much appreciation !
PS: My grafana is 5.4.3