Updated System Metrics (markdown)

Chris Lu 2019-06-28 10:55:40 -07:00
parent 1a770b6a17
commit 78a1824c61

@ -10,8 +10,12 @@ Just add a metrics address to `weed master` or `weed server` command line option
```
weed master -metrics.address=<prometheus_gateway_host_name>:<prometheus_gateway_port>
# example
weed master -metrics.address=localhost:9091
weed server -metrics.address=<prometheus_gateway_host_name>:<prometheus_gateway_port>
# example
weed server -metrics.address=localhost:9091
```
The SeaweedFS filer or volume servers will read this metrics configuration from the master, and report the metrics directly to the Prometheus Gateway.