A simple node exporter for prometheus metrics
4.1K
A simple node exporter for prometheus metrics. It provides a subset of https://github.com/prometheus/node_exporter but smaller and without the necessity to mount the whole filesystem into the container.
The simple-node-exporter only has one endpoint /metrics and provides the following metrics:
| metric | description |
|---|---|
| node_cpu_cores_total | number of cpu cores |
| node_cpu_usage | cpu usage per core |
| node_disk_bytes_total | total bytes of disk space |
| node_disk_bytes_used | used bytes of disk space |
| node_load1 | cpu load 1 minute |
| node_load5 | cpu load 5 minute |
| node_load15 | cpu load 15 minute |
| node_memory_bytes_total | total bytes of memory |
| node_memory_bytes_used | used bytes of memory |
You can simply use the following docker-compose.yml to test and use the simple-node-exporter
version: "3"
services:
simple-node-exporter:
image: bosix/simple-node-exporter
ports:
- 3322:3322
environment:
- "HOSTNAME=myhost"
docker-compose up -d
After starting the container you can call the metrics with curl http://localhost:3322/metrics. The environment-variable hostname can be used to identify the server. It will be added as a label to all metrics.
Please have a look at the gitlab repo for more information and the source code.
Content type
Image
Digest
sha256:5711eadf0…
Size
19.1 MB
Last updated
over 1 year ago
docker pull bosix/simple-node-exporter