You need a subquery 
<https://prometheus.io/docs/prometheus/latest/querying/basics/#subquery> if 
you want to convert a subexpression into a range vector for avg_over_time. 
e.g.

    avg_over_time( (min(health_check))[7d:5m] )

This example will evaluate the inner expression at 5m intervals over 7d, to 
make a range vector.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f3ae48ff-2848-422a-8deb-216e4a2a458e%40googlegroups.com.

Reply via email to