Node Exporter

Node exporter is a small process that collects OS level metics and presents them over HTTP

Node Exporter

Github Project

Node Exporter exports OS level metrics that Prometheus then scrapes on a configured interval. You should expect between 500 and 900 individual metrics per instance.

Example Dashboard

https://grafana.observability.blog/d/CujQWGaZk/node-exporter-full?orgId=1&from=now-6h&to=now&var-job=node&var-name=prometheus-ubuntu-s-1vcpu-1gb-nyc3-01&var-node=localhost&var-port=9100

Example Metrics

CPU Usage

# HELP node_cpu_seconds_total Seconds the cpus spent in each mode.
# TYPE node_cpu_seconds_total counter
node_cpu_seconds_total{cpu="0",mode="idle"} 9.5987785e+06
node_cpu_seconds_total{cpu="0",mode="iowait"} 916.95
node_cpu_seconds_total{cpu="0",mode="irq"} 0
node_cpu_seconds_total{cpu="0",mode="nice"} 25185.31
node_cpu_seconds_total{cpu="0",mode="softirq"} 605.42
node_cpu_seconds_total{cpu="0",mode="steal"} 563.95
node_cpu_seconds_total{cpu="0",mode="system"} 8316.81
node_cpu_seconds_total{cpu="0",mode="user"} 31703.4
node_cpu_seconds_total with the rate() function

Network Usage

# HELP node_network_receive_bytes_total Network device statistic receive_bytes.
# TYPE node_network_receive_bytes_total counter
node_network_receive_bytes_total{device="ens18"} 1.04504677117e+11
node_network_receive_bytes_total{device="ens19"} 7.78513449199e+11

# HELP node_network_transmit_bytes_total Network device statistic transmit_bytes.
# TYPE node_network_transmit_bytes_total counter
node_network_transmit_bytes_total{device="ens18"} 3.84407513558e+11
node_network_transmit_bytes_total{device="ens19"} 3.4841742359e+10
node_network_receive_bytes_total and node_network_transmit_bytes_total with the rate() function