diff --git a/config/thirdparty/prometheus.md b/config/thirdparty/prometheus.md index 5eb6fd560d..4a2946e0c2 100644 --- a/config/thirdparty/prometheus.md +++ b/config/thirdparty/prometheus.md @@ -27,7 +27,7 @@ exist, create it. - **Linux**: `/etc/docker/daemon.json` - **Windows Server**: `C:\ProgramData\docker\config\daemon.json` -- **Docker for Mac / Docker for Windows**: Click the Docker icon in the toolbar, +- **Docker Desktop for Mac / Docker Desktop for Windows**: Click the Docker icon in the toolbar, select **Preferences**, then select **Daemon**. Click **Advanced**. If the file is currently empty, paste the following: @@ -43,7 +43,7 @@ If the file is not empty, add those two keys, making sure that the resulting file is valid JSON. Be careful that every line ends with a comma (`,`) except for the last line. -Save the file, or in the case of Docker for Mac or Docker for Windows, save the +Save the file, or in the case of Docker Desktop for Mac or Docker Desktop for Windows, save the configuration. Restart Docker. Docker now exposes Prometheus-compatible metrics on port 9323. @@ -63,13 +63,13 @@ Prometheus runs as a Docker service on a Docker swarm. Copy one of the following configuration files and save it to `/tmp/prometheus.yml` (Linux or Mac) or `C:\tmp\prometheus.yml` (Windows). This is a stock Prometheus configuration file, except for the addition of the Docker -job definition at the bottom of the file. Docker for Mac and Docker for Windows +job definition at the bottom of the file. Docker Desktop for Mac and Docker Desktop for Windows need a slightly different configuration.
@@ -200,8 +200,8 @@ Next, start a single-replica Prometheus service using this configuration.
@@ -242,8 +242,8 @@ Verify that the Docker target is listed at http://localhost:9090/targets/. ![Prometheus targets page](images/prometheus-targets.png) -You can't access the endpoint URLs directly if you use Docker -for Mac or Docker for Windows. +You can't access the endpoint URLs directly if you use Docker Desktop +for Mac or Docker Desktop for Windows. ## Use Prometheus