203 — Exporters, Blackbox Monitoring & Recording Rules

Intermediate

Deploy Node Exporter for host metrics and Blackbox Exporter for synthetic endpoint monitoring. Write Prometheus recording rules to pre-compute expensive queries for fast dashboards and reliable alerting.

Learning Objectives

1
Deploy and configure Node Exporter and Blackbox Exporter
2
Set up synthetic HTTP endpoint monitoring
3
Write Prometheus recording rules
4
Pre-compute expensive queries for dashboard performance
Step 1

What are Prometheus exporters?

Exporters are agents that translate metrics from third-party systems into Prometheus exposition format. They bridge the gap between systems that don't natively expose Prometheus metrics.

Commands to Run

cat <<'EOF'
=== PROMETHEUS EXPORTER ECOSYSTEM ===

Node Exporter       - Linux host metrics (CPU, memory, disk, network)
Blackbox Exporter    - Probe endpoints (HTTP, TCP, ICMP, DNS)
MySQL Exporter       - MySQL server metrics
PostgreSQL Exporter  - PostgreSQL metrics
Redis Exporter       - Redis server metrics
cAdvisor             - Container resource metrics
kube-state-metrics   - Kubernetes object state

How it works:
  [Third-party system] -> [Exporter] -> [/metrics endpoint] -> [Prometheus scrapes]
EOF

What This Does

The Prometheus ecosystem has hundreds of exporters for virtually every system you might run. Node Exporter is installed on every host to collect OS-level metrics. Blackbox Exporter probes endpoints from outside — it tells you what your users see. Both are essential components of any production monitoring stack.

Expected Outcome

You see the list of common exporters and the data flow diagram showing how exporters work.

Pro Tips

  • 1
    Check the official list of exporters at https://prometheus.io/docs/instrumenting/exporters/
  • 2
    Most databases and message queues have official or community-maintained exporters
  • 3
    Some applications expose /metrics natively (like Prometheus itself) — no exporter needed
Was this step helpful?

All Steps (0 / 10 completed)