Skip to content
BENIBIX Learn

Prometheus Exporter

Infrastructure📈 Monitoring & ObservabilityTelemetry and Dashboard Tools

Also known as Exporter (Prometheus), node_exporter, Node Exporter, /metrics Endpoint

A small helper program. It puts a system's numbers on a page Prometheus reads.

Think of it like

Think of it like a translator. It turns what a machine says into words the tool knows.

Example

Jack puts the Node Exporter on each of his servers. Now Prometheus collects the CPU, memory and disk use of all of them.

Why it matters

Prometheus can only collect what is shown in its form. Exporters let it watch software that was never built for it.

Definition

A Prometheus exporter is a small program. It reads numbers from a system and shows them in a form Prometheus can read. A database or Linux itself does not speak that form. The exporter serves their numbers on a web page, usually at /metrics. Prometheus visits that page on a timer and saves what it finds. The Node Exporter does this for the CPU, memory, disks and network of a Linux server.

Example code

console
$ curl -s localhost:9100/metrics | grep '^node_load1 '
node_load1 0.21
The Node Exporter serves its numbers on port 9100. Prometheus reads this same page.
The page in the middle is the exporter. Prometheus comes back to read it on a timer.

Common mistake

Leaving its port open to the internet. Its page tells a lot about the server, so let only Prometheus reach it.

Key takeaways

  1. 1
    A translator. Turns numbers into the Prometheus form.
  2. 2
    A page to read. Served over the web, usually at /metrics.
  3. 3
    Read on a timer. Prometheus visits and saves.