PCA (Prometheus Certified Associate) sample exam question with answer 158

Question:
Which exporter is used to scrape metrics from HAProxy?

  1. Blackbox exporter
  2. Node exporter
  3. Pushgateway
  4. HAProxy exporter
Answer:
D - correct, the HAProxy exporter is used to scrape metrics from HAProxy. It exports various metrics, such as the number of active connections, the total number of requests, response codes, etc
A - the Blackbox exporter is used to perform various types of probing, such as HTTP, HTTPS, DNS, TCP, ICMP, etc
B - the Node exporter exports metrics about the system resources, such as CPU usage, memory usage, disk usage, etc
C - Pushgateway is used to push metrics from batch jobs or short-lived service jobs