PCA (Prometheus Certified Associate) sample exam question with answer 168

Question:
Which of the following statements are true about metric types in Prometheus?

  1. Counter metrics represent a monotonically increasing value
  2. Gauge metrics represent a value that can go up or down
  3. Histogram metrics represent the distribution of values over a range
  4. 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