Docker Swarm Nodes
1,282

Created 8/8/2018
Updated 8/8/2018
Revision 1
Grafana Version >=5.0.1
Datasources
Prometheus

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" ]
Export Dashboard
Download
Copy to Clipboard