Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugConfiguration ¶
type DebugConfiguration struct { // MutexProfileFraction is used to set the runtime.SetMutexProfileFraction to report mutex contention events. // See https://tip.golang.org/pkg/runtime/#SetMutexProfileFraction for more details about the value. MutexProfileFraction int `yaml:"mutexProfileFraction"` // BlockProfileRate is used to set the runtime.BlockProfileRate to report blocking events // See https://golang.org/pkg/runtime/#SetBlockProfileRate for more details about the value. BlockProfileRate int `yaml:"blockProfileRate"` }
DebugConfiguration for the debug package.
func (DebugConfiguration) SetRuntimeValues ¶
func (c DebugConfiguration) SetRuntimeValues(logger *zap.Logger)
SetRuntimeValues sets the configured pprof runtime values.
Click to show internal directories.
Click to hide internal directories.