PCA (Prometheus Certified Associate) sample exam question with answer 26
Question:
Which of the following functions can be used to calculate a rolling average over a specific time range in PromQL?
- avg_over_time
- increase
- rate
- sum
Answer:
A - The avg_over_time() function calculates the average value of a metric over a specified time range.
It is useful for calculating rolling averages over a specific period of time