Our local Docker for Mac/Windows installation is now creating Prometheus formatted metrics. Open a browser tab with the following URL: `` Click `Àpply & Restart` and wait for Docker to come back online.ĥ. Add the following line of code below the `debug` statement: `metrics-addr' : '0.0.0.0:9323',`Ĥ.
Inside the box of code, we will add an additional line to enable the metrics. Navigate to the `Daemon` menu and click `Advanced`ģ. Open Docker for Mac/Windows Preferences menuĢ.
We will now enable Daemon metrics on our Docker for Mac/Windows formatted for Prometheus The following screenshots are from a Mac but the steps should work the same for Windows. Let's get started by configuring your installation. Monitoring the Docker for Mac/Windows Daemon Finally, it is a good practice to understand your environment and if it is impacting the performance of your workload or not. Second, in order to truly understand your environment, we need to dissect what is running and how it's running. For starters, I am sort of monitoring mad and monitor everything. Some may ask the Million Dollar $$ question as to why we would want to monitor our local installation. How cool is that? No longer do we need to guess about the performance of our development machines or test environments. Monitoring is now baked into Docker for Mac/Windows by default.