Using Grafana Stat panel I am trying to determine the health of an application where I group some springboot metrics and based on the max value, I will display OK/NOK.
In Zabbix the Items are collected every minute.
When I run the same Zabbix Query in the Explorer I get results but on the stat panel I do not.
I have used the aggregate funcion with different timeintervals(1m, 2m and 5m). In Explorere I always get data and on the Stat I either get not data, consistently, or radomly no data.
Our Zabbix datasource connection is using the satndard timeout(30s) and Cache TTL is set to 30s.
Where am I going wrong? Is the aggregate function wrong for my intended use?
Stat query

The variable in the Item box contains a regex expression.
Explorer query and result
In Zabbix the Items are collected every minute.
When I run the same Zabbix Query in the Explorer I get results but on the stat panel I do not.
I have used the aggregate funcion with different timeintervals(1m, 2m and 5m). In Explorere I always get data and on the Stat I either get not data, consistently, or radomly no data.
Our Zabbix datasource connection is using the satndard timeout(30s) and Cache TTL is set to 30s.
Where am I going wrong? Is the aggregate function wrong for my intended use?
Stat query
The variable in the Item box contains a regex expression.
Explorer query and result