Dear all,
I’m using prometheus as data source and one of the metrics is the last success backup in seconds from 1970 (epoch / unix timestamp).
I can easily graph that on Grafana 7.2:
The query is last_success_backup{url="$my_site"} * 1000
and Filed / Options / Unit is “Datetime ISO”.
I’m looking for a way to add an hidden value (i.e. time() - last_success_backup{url="$my_site"}
) that would be used to color the panel with thresolds if the value is higher than 86400
(a day) or more.
I’ve looked into thresholds, overrides, transform (Add field from calculation) and I want to believe that I’m close to find the correct way to achieve that but I’m sure that I’m missing something.
Is there a way to add hidden value that can be used as threshold/override ?
Thanks for any leads,
ponsfrilus
PS: my question is related to 20025 while for Grafana 7.2