mirror of https://github.com/docker/docs.git
Update dockerd.yaml
This commit is contained in:
parent
3bbdef8094
commit
3ff3b7cf42
|
@ -991,9 +991,9 @@ long: |
|
|||
feature is still experimental, therefore, the daemon must be running in
|
||||
experimental mode for this feature to work.
|
||||
|
||||
To serve the metrics API on localhost:1337 you would specify
|
||||
`--metrics-addr 127.0.0.1:1337` allowing you to make requests on the API at
|
||||
`127.0.0.1:1337/metrics` to receive metrics in the
|
||||
To serve the metrics API on localhost:9323 you would specify
|
||||
`--metrics-addr 127.0.0.1:9323` allowing you to make requests on the API at
|
||||
`127.0.0.1:9323/metrics` to receive metrics in the
|
||||
[prometheus](https://prometheus.io/docs/instrumenting/exposition_formats/)
|
||||
format.
|
||||
|
||||
|
@ -1005,7 +1005,7 @@ long: |
|
|||
scrape_configs:
|
||||
- job_name: 'docker'
|
||||
static_configs:
|
||||
- targets: ['127.0.0.1:1337']
|
||||
- targets: ['127.0.0.1:9323']
|
||||
```
|
||||
|
||||
Please note that this feature is still marked as experimental as metrics and
|
||||
|
|
Loading…
Reference in New Issue