mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated System Metrics (markdown)
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>
|
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>
|
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.
|
The SeaweedFS filer or volume servers will read this metrics configuration from the master, and report the metrics directly to the Prometheus Gateway.
|
||||||
|
|
Loading…
Reference in a new issue