PCA (Prometheus Certified Associate) sample exam question with answer 603
Question:
Which Prometheus metric type should be used to expose a value that can only increase or be reset to zero on restart, such as the number of requests served or tasks completed?
- Counter
- Gauge
- Histogram
- Summary
Answer:
A - is the correct answer. Counters are used to represent a cumulative metric that can only increase or be reset to zero on restart, such as the number of requests served or tasks completed