From a68b8ffdc1606cd783c02548fd8710cac10c65e8 Mon Sep 17 00:00:00 2001 From: whyun7892 Date: Wed, 31 Jan 2018 07:49:37 +0900 Subject: [PATCH] Target ip in the config file needs to be changed (#5865) * Target ip in the config file needs to be changed --- engine/admin/prometheus.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/admin/prometheus.md b/engine/admin/prometheus.md index 092a72b0e5..c6ca5b1e9e 100644 --- a/engine/admin/prometheus.md +++ b/engine/admin/prometheus.md @@ -138,7 +138,7 @@ scrape_configs: # scheme defaults to 'http'. static_configs: - - targets: ['192.168.65.1:9323'] + - targets: ['docker.for.mac.host.internal:9323'] ``` @@ -189,7 +189,7 @@ Next, start a single-replica Prometheus service using this configuration. @@ -205,7 +205,7 @@ $ docker service create --replicas 1 --name my-prometheus \ ``` -
+
```bash $ docker service create --replicas 1 --name my-prometheus \