The document discusses different approaches to integrating Prometheus monitoring with Docker Swarm. Version 1 used a "prom-wrapper" container but had issues with services and networks being dynamically added. Version 2 used Prometheus in federated mode with "prom-proxy" containers, but was too complex. Version 3 dynamically adds Prometheus to networks using the prom-wrapper, allowing monitoring of services in Swarm. The implementation is available on GitHub and allows using Weave Cloud's hosted Prometheus for Docker Swarm.