Hi all!
Let me start with example so as to be clear. Please, look at the 
screenshot. 

[image: Заявление.jpg]

As you can see there are two metrics. One have value 0. Other have value 1. 
In this case we consider that all values at the certain time are equal to 
0. Such a kind of logical AND (min(health_check)):

[image: Заявление.jpg]

The final aim is to get average value over time. I tried this query:

      avg_over_time(min(health_check)[7d])

But it fails with error message:

 "1:32: parse error: ranges only allowed for vector selectors"


Could you say please how to deal with this?

-- 
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/9a8421ab-e1a6-430f-a6c2-b169831cfae8%40googlegroups.com.

Reply via email to