Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Tags map[string]string `env:"-" json:"tags,omitempty" yaml:"tags,omitempty"`
ServerAddress string `env:"SERVER_ADDRESS" json:"serverAddress" yaml:"serverAddress"`
BasicAuthUser string `env:"BASIC_AUTH_USER" json:"basicAuthUser,omitempty" yaml:"basicAuthUser,omitempty"`
BasicAuthPassword string `env:"BASIC_AUTH_PASSWORD" json:"basicAuthPassword,omitempty" yaml:"basicAuthPassword,omitempty"`
UploadRate time.Duration `env:"UPLOAD_RATE" json:"uploadRate" yaml:"uploadRate"`
Insecure bool `env:"INSECURE" json:"insecure" yaml:"insecure"`
EnableMutexProfile bool `env:"ENABLE_MUTEX_PROFILE" json:"enableMutexProfile" yaml:"enableMutexProfile"`
EnableBlockProfile bool `env:"ENABLE_BLOCK_PROFILE" json:"enableBlockProfile" yaml:"enableBlockProfile"`
}
Config holds Pyroscope-specific profiling configuration.
Click to show internal directories.
Click to hide internal directories.