Pcornel
Observability · Metrics

Exporters

Cheat sheet · https://pcornel.dk/topic.php?topic=6206

Back to the Topic

Answer

Exporters translate metrics from systems that don't expose Prometheus format — node_exporter, blackbox_exporter, snmp_exporter, mysqld_exporter, windows_exporter.

Remember

Run exporters close to the system, secure their endpoints, and watch exporter-specific success metrics (e.g. probe_success, mysql_up).

First checks

  • curl -s localhost:9100/metrics | head — first check for this topic
  • curl -s localhost:9090/-/ready — Prometheus ready
  • curl -s 'localhost:9090/api/v1/query?query=up' — scrape targets up/down
  • promtool check config prometheus.yml — config valid

Commands

curl http://host:9100/metrics

Verify in this order

system → exporter → /metrics → Prometheus scrape

Where it usually breaks

Exporters scraped too often load the source system.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6206

Confirmation

Confirm action

Continue?