I want to create a status panel to check fast if a datasource is up-to-date or failed to update.
If it is the same day (29/11/2020) it should return 0 or else 1. Then I can create a status panel with colors (green = source is updated (0), red = update issue(1))
So far I created a single stat with the date I gave with the the datasource in a tag (influxdb):
So in this case I want to compare the date (29/11/2020) with the current day.
tag(dateinject_epoch) = ‘1606663531216’ from InfluxDB with local time displayed
How can I calculate current date vs my tag field?