diff --git a/System-Metrics.md b/System-Metrics.md index 35929d8..2170eb4 100644 --- a/System-Metrics.md +++ b/System-Metrics.md @@ -1,4 +1,4 @@ -SeaweedFS publishes metrics to Prometheus Gateway. +SeaweedFS uses [Prometheus](https://prometheus.io/) to store the metrics and [Grafana](https://grafana.com/grafana) to visualize them. SeaweedFS publishes metrics to [Prometheus Gateway](https://github.com/prometheus/pushgateway), and the gateway pass along to the Prometheus server. Master | Volume Server | Filer => Prometheus Gateway => Prometheus Server => Grafana @@ -7,9 +7,9 @@ Master | Volume Server | Filer => Prometheus Gateway => Prometheus Server => Gra 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 master -metrics.address=: -weed server -metrics.address=localhost:9091 +weed server -metrics.address=: ``` The SeaweedFS filer or volume servers will read this metrics configuration from the master, and report the metrics directly to the Prometheus Gateway.