How to use last_over_time?

Try to use the max_over_time function to extract the most recent value from that range. Maybe this?

max_over_time(last_over_time(qalif_uniformity_minimum{instance="$qalif_ip"}[$__range])[$__interval:])

This works by:

  1. Using last_over_time with $__range to consider your entire time range
  2. Then applying max_over_time with [$__interval:] to get the most recent value

I found this as well which may help: How to make Grafana/Prometheus summarize values by max or peak when zooming out? - #3 by tobia