If the vector selector foo[5m] contains 1 1 NaN 0, what does max_over_time(foo[5m]) return?
foo[5m]
1 1 NaN 0
max_over_time(foo[5m])
max_over_time returns the maximum value among the samples in the specified interval. With numeric samples 1, 1, and 0, the maximum is 1; the intervening NaN does not replace an available numeric maximum.
max_over_time
NaN
Community Discussion