Recall & Review
beginner
What is a Prometheus exporter?
A Prometheus exporter is a tool that collects metrics from a system or application and exposes them in a format Prometheus can read.
Click to reveal answer
beginner
Why do we need a Prometheus exporter for Nginx?
Nginx does not expose metrics in Prometheus format by default, so an exporter collects Nginx stats and converts them for Prometheus to scrape.
Click to reveal answer
intermediate
Which Nginx module is commonly used to expose metrics for Prometheus?
The 'nginx-prometheus-exporter' or a sidecar exporter is commonly used to expose Nginx metrics in Prometheus format.
Click to reveal answer
beginner
How does Prometheus get metrics from an exporter?
Prometheus periodically sends HTTP requests to the exporter's metrics endpoint to collect the current metrics data.
Click to reveal answer
intermediate
What kind of metrics can the Nginx Prometheus exporter provide?
It can provide metrics like request counts, response statuses, connection states, and request durations.
Click to reveal answer
What is the main role of a Prometheus exporter?
✗ Incorrect
Exporters collect metrics from applications and expose them so Prometheus can scrape them.
Which protocol does Prometheus use to scrape metrics from an exporter?
✗ Incorrect
Prometheus scrapes metrics by sending HTTP requests to the exporter endpoint.
Why can't Prometheus directly scrape Nginx metrics without an exporter?
✗ Incorrect
Nginx needs an exporter to convert its stats into Prometheus format.
Which of these is NOT a typical metric provided by the Nginx Prometheus exporter?
✗ Incorrect
CPU temperature is not provided by the Nginx exporter; it focuses on web server metrics.
How often does Prometheus scrape metrics from exporters by default?
✗ Incorrect
Prometheus usually scrapes metrics every 15 seconds by default.
Explain how a Prometheus exporter works with Nginx to provide monitoring data.
Think about how data flows from Nginx to Prometheus.
You got /4 concepts.
Describe the steps to set up a Prometheus exporter for Nginx.
Focus on installation, configuration, and scraping.
You got /4 concepts.