QuestionQ41

PromQL

Which expression computes the average uptime of targets during the previous hour?

Explanation

avg_over_time() calculates the average of all samples in a specified range vector. Applying it to up[1h] averages each target’s up samples from the preceding hour.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!