mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Created System Metrics (markdown)
parent
0ff7692a66
commit
4325690d7b
21
System-Metrics.md
Normal file
21
System-Metrics.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
SeaweedFS publishes metrics to Prometheus Gateway.
|
||||
|
||||
Master | Volume Server | Filer => Prometheus Gateway => Prometheus Server => Grafana
|
||||
|
||||
## Configuration
|
||||
|
||||
Just add a metrics address to `weed master` or `weed server` command line options. If you have multiple masters, please add it to all the master command line options.
|
||||
|
||||
```
|
||||
weed master -metrics.address=localhost:9091
|
||||
|
||||
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.
|
||||
|
||||
## Dashboard
|
||||
|
||||
The dashboard is shared at https://grafana.com/dashboards/10423
|
||||
|
||||
If you modify the dashboard, please share your revisions.
|
Loading…
Reference in a new issue