1 | initial version |
One way to retrieve the latest date value of a specific label from Prometheus and present it on Grafana is to use a Prometheus query to get the most recent data point for the matching label and then display it on a Grafana panel.
To do this, follow these steps:
max_over_time(metric_name{label_name="value"}[1h])
.This should display the latest date value of the specified label on the Grafana panel.