From 60ef7576f9c9f0db6cd6546c93cd82aa43962257 Mon Sep 17 00:00:00 2001 From: Gerd Riesselmann Date: Fri, 8 Oct 2021 12:57:49 +0200 Subject: [PATCH] Add note on using HTTPS and required restart of volume servers, --- System-Metrics.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/System-Metrics.md b/System-Metrics.md index 0c8e8fd..bed421e 100644 --- a/System-Metrics.md +++ b/System-Metrics.md @@ -9,16 +9,18 @@ Note: Setting Prometheus, push gateway, and Grafana can be simplified with this 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=: +weed master -metrics.address=: # example -weed master -metrics.address=localhost:9091 +weed master -metrics.address=localhost:9091 # Defaults to http://localhost:9091 +weed master -metrics.address=https://example.com -weed server -metrics.address=: +weed server -metrics.address=: # example -weed server -metrics.address=localhost:9091 +weed server -metrics.address=localhost:9091 # Defaults to http://localhost:9091 +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. +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