PCA (Prometheus Certified Associate) sample exam question with answer 138
Question:
Which of the following is a good practice for labeling metrics in Prometheus?
- Use as few labels as possible to save space
- Use labels to add context and meaning to the metric
- Use random labels to add complexity to the metric
- Use long labels to make the metric stand out
Answer:
B - It is a good practice to use labels to add context and meaning to the metric. This helps to ensure that the metric is easily understandable and meaningful to anyone who reads it