PCA (Prometheus Certified Associate) sample exam question with answer 168
Question:
Which of the following statements are true about metric types in Prometheus?
- Counter metrics represent a monotonically increasing value
- Gauge metrics represent a value that can go up or down
- Histogram metrics represent the distribution of values over a range
- Summary metrics represent a set of quantiles over a sliding time window
Answer:
A, B, C, D - Prometheus has four metric types: counter, gauge, histogram, and summary. Counter metrics represent a monotonically increasing value. Gauge metrics represent a value that can go up or down. Histogram metrics represent the distribution of values over a range. Summary metrics represent a set of quantiles over a sliding time window