We'll start by cloning vfarcic/docker-flow-monitor repository from https://github.com/vfarcic/docker-flow-monitor. It contains all the scripts and Docker stacks we'll use throughout this chapter.
All the commands from this chapter are available in the 03-deploying-prometheus.sh Gist at https://gist.github.com/vfarcic/e597004e626fbffc47de72bdc75a3498.
git clone \
https://github.com/vfarcic/docker-flow-monitor.git
cd docker-flow-monitor
The rest of the chapter will require Docker machine. Please set it up using the installation instructions at (https://docs.docker.com/machine/install-machine/). If you are a Windows user, please run all the commands from Git Bash (installed through Git) or any other bash you might have.
Before we create a Prometheus service, we need to have a cluster. It will consist of three nodes created with Docker machine...