mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-04 18:14:53 -05:00
add descriptions to the debug config
This commit is contained in:
@@ -2,8 +2,8 @@ package config
|
||||
|
||||
// Debug defines the available debug configuration.
|
||||
type Debug struct {
|
||||
Addr string `yaml:"addr" env:"PROXY_DEBUG_ADDR"`
|
||||
Token string `yaml:"token" env:"PROXY_DEBUG_TOKEN"`
|
||||
Pprof bool `yaml:"pprof" env:"PROXY_DEBUG_PPROF"`
|
||||
Zpages bool `yaml:"zpages" env:"PROXY_DEBUG_ZPAGES"`
|
||||
Addr string `yaml:"addr" env:"PROXY_DEBUG_ADDR" desc:"Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed."`
|
||||
Token string `yaml:"token" env:"PROXY_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint"`
|
||||
Pprof bool `yaml:"pprof" env:"PROXY_DEBUG_PPROF" desc:"Enables pprof, which can be used for profiling"`
|
||||
Zpages bool `yaml:"zpages" env:"PROXY_DEBUG_ZPAGES" desc:"Enables zpages, which can be used for collecting and viewing traces in-me"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user