Alerting Evaluation Value is Different from the actual value

Hi Everyone,

I have alerting configured using Infinity data source.
The value which comes in the response/plotted is different from the value which i see in the evaluation/alert state history. I would like to understand how this value is returned or can we control it in any way. we want to get alerted with the exact returned value from the response.

The value returned for 2:30 is 92.7
see below

S
response
image

But when we I look at the evaluation which happened at 2:32 which transitioned to pending the value is 96.5

Can anyone please help me better understand how this evaluation/state history value plotted, is it based on the query’s time range/interval ?

@jangaraj If you don’t mind, can you please help me with this?

Hello, i want to know your first picture it is dashboard panel data or alert rule panel data.

because alert rule panel data different to dashboard panel data independently calculated, so if panel setting different value plotted diffent is correct

@mycchung it is alerting panel data tho, I would like to alert on the exact value which we get, if the values are calculated differently May I know how we can change/control that ?

you must make sure dashboard panel and alert rule Define query and alert condition setting it’s same, don’t forget to set the time as well.

Hi @mycchung,

I did checked the dashboard query options, I have few questions by default the dashboard’s interval set to last 24hr, where I parse the response to visualize last 24hr data.
But in the alert query I parse the response to just show the last data point and evaluate it.
In that case is it recommended to link the dashboard to alerting panel?

Also when I check the dashboard’s query option it changes evertime when i change the timeframe, will it work if i change alert query options as per dashboard’s 24hr time frame’s query options?

Dashboard’s


Alert query

In short the endpoint returns the 5 min data point for last 24hr, so I parse it accordingly for dashboard visualization and alerting query.

How about expressions setting?

@mycchung PFB