Delay for Single State

Hello, I’m looking for a solution for the single state panel.
The problem is it switches to red too fast. The UPTIME for a PC comes in and sometimes the data comes in at a bad time and it turns red, even though there are no more than 10 seconds between the data sets. Can I set the panels to turn red only when the last record is 30 seconds behind?
Grafana version 6.5.1

Hello, I’m looking for a solution for the single state panel.

The problem is it switches to red too fast.

It’ll switch to red as soon as the query behind it returns a value which
matches the red threshold.

The UPTIME for a PC comes in

So, that’s measured in seconds?

What’s your red threshold?

and sometimes the data comes in at a bad time

What does that mean?

and it turns red, even though there are no more than 10 seconds between the
data sets.

What are you trying to measure? What should be red and what should not?

Can I set the panels to turn red only when the last record is 30 seconds
behind?

How about adding “and time < now()-30s” to your query?

Grafana version 6.5.1

Regards,

Antony.

Thanks for the help, that’s exactly what I was looking for. : ) It took some time but now everything works fine, thank you.