mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Update dockerd.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user