PCA (Prometheus Certified Associate) sample exam question with answer 14
Question:
What is a metric type in Prometheus?
- The data type of the metric value
- The frequency at which the metric is scraped
- The target that the metric is scraped from
- The alert rule that the metric is associated with
Answer:
A - The metric type specifies the data type of the metric value, which can be one of four types: counter, gauge, histogram, or summary.
Understanding the metric type is important for properly interpreting and using the metric data.