PCA (Prometheus Certified Associate) sample exam question with answer 602
Question:
Which of the following are types of metrics that can be collected with Prometheus? Select all that apply.
- Counter
- Histogram
- Gauge
- Timer
Answer:
A, B, C - are the correct answers. Prometheus can collect three main types of metrics: counters, histograms, and gauges. Counters are used to track the number of times an event has occurred, histograms are used to track the distribution of values over time, and gauges are used to track the value of a metric at a particular point in time
D - is incorrect. Timers are not a type of metric that can be collected with Prometheus