PCA (Prometheus Certified Associate) sample exam question with answer 395
Question:
What does the following config do?
scrape_configs:
- job_name: "demo"
metric_relabel_configs:
- regex: fstype
action: labeldrop
- All targets with the fstype label will not get scraped
- The metric fstype will get dropped
- The label fstype will be dropped for all metrics
- The metric fstype will have all of its labels dropped
Answer:
C - correct answer