From 4325690d7bca42f24372038207e278a7bbb2f6e4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 24 Jun 2019 00:50:28 -0700 Subject: [PATCH] Created System Metrics (markdown) --- System-Metrics.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 System-Metrics.md diff --git a/System-Metrics.md b/System-Metrics.md new file mode 100644 index 0000000..35929d8 --- /dev/null +++ b/System-Metrics.md @@ -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.