PCA (Prometheus Certified Associate) sample exam question with answer 146
Question:
What is the purpose of a relabeling configuration in Prometheus? (Select all that apply)
- To filter metrics before scraping them
- To transform metric labels
- To apply a consistent set of labels to all metrics scraped from a target
- To convert metric types
Answer:
B, C - A relabeling configuration in Prometheus is used to transform metric labels, or to apply a consistent set of labels to all metrics scraped from a target. This can be useful for standardizing or normalizing metrics across multiple targets