mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated System Metrics (markdown)
parent
a338b58187
commit
9e83716faf
|
@ -1,4 +1,7 @@
|
|||
SeaweedFS uses [Prometheus](https://prometheus.io/) to store the metrics and [Grafana](https://grafana.com/grafana) to visualize them. SeaweedFS publishes metrics to [Prometheus Push Gateway](https://github.com/prometheus/pushgateway), and the gateway pass along to the Prometheus server.
|
||||
SeaweedFS uses [Prometheus](https://prometheus.io/) to store the metrics and [Grafana](https://grafana.com/grafana) to visualize them.
|
||||
|
||||
# Push Metrics
|
||||
SeaweedFS can publish metrics to [Prometheus Push Gateway](https://github.com/prometheus/pushgateway), and the gateway pass along to the Prometheus server.
|
||||
|
||||
Master | Volume Server | Filer => Prometheus Push Gateway => Prometheus Server => Grafana
|
||||
|
||||
|
@ -22,7 +25,19 @@ weed server -metrics.address=https://example.com
|
|||
|
||||
The SeaweedFS filer or volume servers will read this metrics configuration from the master, and report the metrics directly to the Prometheus Gateway. Filer and volume servers need to be restarted for the changes to take effect.
|
||||
|
||||
## Dashboard
|
||||
# Pull Metrics
|
||||
SeaweedFS can also start with ports accepting Prometheus metrics queries.
|
||||
|
||||
```
|
||||
weed server -metricsPort=1234
|
||||
weed master -metricsPort=1234
|
||||
weed volume -metricsPort=1234
|
||||
weed filer -metricsPort=1234
|
||||
```
|
||||
|
||||
And then you can configure your Prometheus to crawl them periodically.
|
||||
|
||||
# Dashboard
|
||||
|
||||
The dashboard is shared at https://github.com/chrislusf/seaweedfs/blob/master/other/metrics/grafana_seaweedfs.json
|
||||
|
||||
|
|
Loading…
Reference in a new issue