Docker Swarm Nodes 1,2821,282
This relies on data from both node_exporter and dockerd-exporter.
Filter by node name instead of node_id.
Using swarm prom-node-exporter as a base, with the updated node_exporter binary from 0.16.0. 15 to 16 changes several stat names which are redefined.
FROM stefanprodan/swarmprom-node-exporter:v0.15.2 as BASE
FROM prom/node-exporter:v0.16.0
COPY --from=BASE /etc/node-exporter/docker-entrypoint.sh /etc/node-exporter/docker-entrypoint.sh
USER root
RUN chown nobody:wheel /etc/node-exporter
USER nobody
ENTRYPOINT [ "/etc/node-exporter/docker-entrypoint.sh" ]
CMD [ "/bin/node_exporter" ]
Used Metrics 2424
topk
-
node_time_seconds
-
node_boot_time_seconds
node_name
node_meta
-
node_cpu_seconds_total
interval
-
node_load5
-
node_memory_MemTotal_bytes
-
node_memory_MemAvailable_bytes
-
node_filesystem_size_bytes
-
node_filesystem_free_bytes
-
node_memory_MemFree_bytes
-
node_memory_Cached_bytes
-
node_memory_Buffers_bytes
-
node_memory_Slab_bytes
node_memory_Cached
-
node_disk_read_bytes_total
-
node_disk_written_bytes_total
-
node_disk_reads_completed_total
-
node_disk_writes_completed_total
-
container_last_seen
-
container_network_receive_bytes_total
-
container_network_transmit_bytes_total