Docker Swarm Nodes

Docker Swarm nodes metrics

Docker Swarm Nodes screenshot 1

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.

Dockerfile
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" ]
Revisions
RevisionDescriptionCreated
Docker

Docker

by Grafana Labs
Grafana Labs solution

Easily monitor Docker with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies