Target ip in the config file needs to be changed (#5865)

* Target ip in the config file needs to be changed
This commit is contained in:
whyun7892 2018-01-31 07:49:37 +09:00 committed by Misty Stanley-Jones
parent 6ddec7eef0
commit a68b8ffdc1
1 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ scrape_configs:
# scheme defaults to 'http'. # scheme defaults to 'http'.
static_configs: static_configs:
- targets: ['192.168.65.1:9323'] - targets: ['docker.for.mac.host.internal:9323']
``` ```
</div><!-- mac --> </div><!-- mac -->
@ -189,7 +189,7 @@ Next, start a single-replica Prometheus service using this configuration.
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" data-target="#linux-run" data-group="linux">Docker for Linux</a></li> <li class="active"><a data-toggle="tab" data-target="#linux-run" data-group="linux">Docker for Linux</a></li>
<li class="active"><a data-toggle="tab" data-target="#mac-run" data-group="mac">Docker for Mac</a></li> <li><a data-toggle="tab" data-target="#mac-run" data-group="mac">Docker for Mac</a></li>
<li><a data-toggle="tab" data-target="#win-run" data-group="win">Docker for Windows or Windows Server</a></li> <li><a data-toggle="tab" data-target="#win-run" data-group="win">Docker for Windows or Windows Server</a></li>
</ul> </ul>
@ -205,7 +205,7 @@ $ docker service create --replicas 1 --name my-prometheus \
``` ```
</div><!-- linux --> </div><!-- linux -->
<div id="mac-run" class="tab-pane fade in active" markdown="1"> <div id="mac-run" class="tab-pane fade" markdown="1">
```bash ```bash
$ docker service create --replicas 1 --name my-prometheus \ $ docker service create --replicas 1 --name my-prometheus \