PCA (Prometheus Certified Associate) sample exam question with answer 483
Question:
Which of the following components are needed to create a custom exporter in Prometheus? Select all that apply.
- A data source to be monitored
- A configuration file for the exporter
- A Prometheus client library for the language of the data source
- A script or program that exports the data in a Prometheus-compatible format
Answer:
A, C, D - are correct answers. To create a custom exporter in Prometheus, you need a data source to be monitored, a Prometheus client library for the language of the data source, and a script or program that exports the data in a Prometheus-compatible format
B - is incorrect. A configuration file is optional but can be useful for configuring the exporter's behavior