mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
doc: clarify metrics flag
This commit is contained in:
parent
9bb9a8819c
commit
20acacdea5
@ -411,7 +411,7 @@ Follow the instructions when using these flags.
|
||||
+ env variable: ETCD_ENABLE_PPROF
|
||||
|
||||
### --metrics
|
||||
+ Set level of detail for exported metrics, specify 'extensive' to include histogram metrics.
|
||||
+ Set level of detail for exported metrics, specify 'extensive' to include server side grpc histogram metrics.
|
||||
+ default: basic
|
||||
+ env variable: ETCD_METRICS
|
||||
|
||||
|
@ -240,7 +240,7 @@ func newConfig() *config {
|
||||
fs.BoolVar(&cfg.ec.EnablePprof, "enable-pprof", false, "Enable runtime profiling data via HTTP server. Address is at client URL + \"/debug/pprof/\"")
|
||||
|
||||
// additional metrics
|
||||
fs.StringVar(&cfg.ec.Metrics, "metrics", cfg.ec.Metrics, "Set level of detail for exported metrics, specify 'extensive' to include histogram metrics")
|
||||
fs.StringVar(&cfg.ec.Metrics, "metrics", cfg.ec.Metrics, "Set level of detail for exported metrics, specify 'extensive' to include server side grpc histogram metrics")
|
||||
|
||||
// auth
|
||||
fs.StringVar(&cfg.ec.AuthToken, "auth-token", cfg.ec.AuthToken, "Specify auth token specific options.")
|
||||
|
@ -167,7 +167,7 @@ Profiling and Monitoring:
|
||||
--enable-pprof 'false'
|
||||
Enable runtime profiling data via HTTP server. Address is at client URL + "/debug/pprof/"
|
||||
--metrics 'basic'
|
||||
Set level of detail for exported metrics, specify 'extensive' to include histogram metrics.
|
||||
Set level of detail for exported metrics, specify 'extensive' to include server side grpc histogram metrics.
|
||||
--listen-metrics-urls ''
|
||||
List of URLs to listen on for the metrics and health endpoints.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user