Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type Config ¶
type Config struct {
scraperhelper.ControllerConfig `mapstructure:",squash"`
confighttp.ClientConfig `mapstructure:",squash"`
// Include is the glob pattern for pprof files to scrape.
Include string `mapstructure:"include"`
// Self-scraper only:
// Fraction of blocking events that are profiled. A value <= 0 disables
// profiling. See https://golang.org/pkg/runtime/#SetBlockProfileRate for details.
BlockProfileFraction int `mapstructure:"block_profile_fraction"`
// Self-scraper only:
// Fraction of mutex contention events that are profiled. A value <= 0
// disables profiling. See https://golang.org/pkg/runtime/#SetMutexProfileFraction
// for details.
MutexProfileFraction int `mapstructure:"mutex_profile_fraction"`
}
Config defines the configuration for the pprof receiver.
Click to show internal directories.
Click to hide internal directories.