Files
opencloud/services/search/pkg/config/debug.go
Ralf Haferkamp 553ae7dfa3 Remove 'ocisConfig' struct tag leftovers
Support the 'ocisConfig' tag was removed long time ago with commit
1232f26fe4
2025-01-16 17:51:02 +01:00

10 lines
720 B
Go

package config
// Debug defines the available debug configuration.
type Debug struct {
Addr string `yaml:"addr" env:"SEARCH_DEBUG_ADDR" desc:"Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed." introductionVersion:"pre5.0"`
Token string `yaml:"token" env:"SEARCH_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint." introductionVersion:"pre5.0"`
Pprof bool `yaml:"pprof" env:"SEARCH_DEBUG_PPROF" desc:"Enables pprof, which can be used for profiling." introductionVersion:"pre5.0"`
Zpages bool `yaml:"zpages" env:"SEARCH_DEBUG_ZPAGES" desc:"Enables zpages, which can be used for collecting and viewing in-memory traces." introductionVersion:"pre5.0"`
}