mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Add note on using HTTPS and required restart of volume servers,
parent
2fcab25b69
commit
60ef7576f9
|
@ -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=<prometheus_gateway_host_name>:<prometheus_gateway_port>
|
||||
weed master -metrics.address=<protocol><prometheus_gateway_host_name>:<prometheus_gateway_port>
|
||||
# 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=<prometheus_gateway_host_name>:<prometheus_gateway_port>
|
||||
weed server -metrics.address=<protocol><prometheus_gateway_host_name>:<prometheus_gateway_port>
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue