What is this?
Prometheus Node Exporter exposes host and node metrics — CPU, memory, disk, network, and filesystem usage — in the Prometheus exposition format. It follows a pull model: the exporter never pushes data anywhere, it simply publishes metrics on an HTTP endpoint for a scraper to collect.
It is designed to be scraped by the prometheus-grafana profile of the Grafana app in this catalog, but works with any Prometheus-compatible scraper, including an OpenTelemetry Collector’s prometheus receiver.
Example: how a factory uses it
An edge gateway runs several containerized workloads on the shop floor. The maintenance team wants to know when a gateway is running low on disk or memory before it causes an outage. Node Exporter runs alongside the other apps and publishes host metrics on port 9100. The Grafana app scrapes those metrics and renders a dashboard showing CPU load, free disk space, and memory pressure per gateway — so the team can act before a device falls over.
Network Topology
graph LR
subgraph Edge Gateway
NE[Node Exporter
:9100 /metrics]
end
subgraph Observability
GRAFANA[Grafana LGTM
Prometheus scraper]
end
GRAFANA -->|scrape :9100| NE
Import this app
Paste this into your Margo manager to import the app:
public.ecr.aws/g2n4p2m7/belden-margo:1.0.0_node-exporter-margo-manifest
Run: oras pull public.ecr.aws/g2n4p2m7/belden-margo:1.0.0_node-exporter-margo-manifest
Technical details
Deployment Profiles
- PROPOSED — quadlet (WG-PROPOSAL-02)
Exposes host/node metrics in Prometheus exposition format (pull model — this app never pushes anything). Designed to be scraped by the `prometheus-grafana` profile of the `grafana` app in this repo, but works with any Prometheus-compatible scraper, including an OTel Collector's `prometheus` receiver.
Application Description (margo.yaml)
apiVersion: margo.org/v1alpha1
kind: ApplicationDescription
id: com-belden-node-exporter
metadata:
name: "Prometheus Node Exporter"
version: 1.0.0+node-exporter-margo-manifest
description: Prometheus Node Exporter — exposes host/node metrics for Prometheus scraping
catalog:
application:
icon: "./resources/icon.png"
tagline: "Host and node metrics exporter for Prometheus"
tags:
- "observability"
- "monitoring"
- "prometheus"
- "edge-computing"
organization:
- name: "Prometheus"
site: "https://prometheus.io"
deploymentProfiles:
- id: "node-exporter-quadlet"
type: "quadlet"
description: "Exposes host/node metrics in Prometheus exposition format (pull model — this app never pushes anything). Designed to be scraped by the `prometheus-grafana` profile of the `grafana` app in this repo, but works with any Prometheus-compatible scraper, including an OTel Collector's `prometheus` receiver."
requiredResources:
cpu:
cores: 0.25
architectures:
- amd64
- arm64
memory: "128Mi"
storage: "64Mi"
interfaces:
- type: ethernet
components:
- name: "node-exporter-quadlet"
properties:
repository: oci://public.ecr.aws/g2n4p2m7/belden-margo
revision: 1.0.0_node-exporter-quadlet
wait: true
timeout: "2m0s"
parameters:
metricsPort:
value: 9100
targets:
- pointer: "METRICS_PORT"
components:
- node-exporter-quadlet
configuration:
sections:
- name: "Metrics"
settings:
- parameter: metricsPort
name: "Metrics Port"
immutable: false
schema: metricsPortSchema
schema:
- name: metricsPortSchema
dataType: integer
minValue: 1
maxValue: 65535
allowEmpty: falsePodman Quadlet Units
PROPOSED — quadlet (WG-PROPOSAL-02)node-exporter.container
[Unit]
Description=Prometheus Node Exporter — host/node metrics for Prometheus scraping
After=network-online.target
[Container]
Image=ghcr.io/prometheus/node-exporter:v1.12.1
PublishPort=${METRICS_PORT}:9100
# Read-only host root for host-level collectors (filesystem, diskstats, etc.),
# hardened: noexec/nosuid/nodev. Exposes host filesystem metadata only — not
# writable, not executable. Deliberate, scoped trade-off for node metrics.
Volume=/:/host:ro,noexec,nosuid,nodev
Exec=--path.rootfs=/host
# node-exporter is a minimal image but ships busybox wget; probe its own
# /metrics endpoint so a wedged exporter (process alive, not serving) is caught.
HealthCmd=wget -qO- http://127.0.0.1:9100/metrics || exit 1
HealthInterval=30s
HealthTimeout=10s
HealthRetries=3
HealthStartPeriod=10s
NoNewPrivileges=true
[Service]
Environment=METRICS_PORT=9100
Restart=always
[Install]
WantedBy=default.target
Container Images
| Image Reference |
|---|
ghcr.io/prometheus/node-exporter:v1.12.1 |
License
Apache-2.0