PCA (Prometheus Certified Associate) sample exam question with answer 67
Question:
You are creating an exporter that exposes Prometheus metrics from your fitness tracking app.
Which metric type would be BEST for a metric called steps_total that tracks the total number of steps you have taken?
- Summary
- Info
- Counter
- Gauge
Answer:
C - number of steps taken represents a monotonically increasing value ideal for a counter.
A - summary metrics sample observations and provide configurable quantiles.
B - this is not a type of metric.
D - Gauge metrics can also go down