Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "pyroscope"
Variables ¶
View Source
var Labels = pyroscope.Labels
Functions ¶
Types ¶
type Config ¶
type Config struct {
Enabled bool `yaml:"enabled"`
ApplicationName string `yaml:"application_name"`
ServerAddress string `yaml:"server_address"`
BasicAuthUser string `yaml:"basic_auth_user"`
BasicAuthPassword string `yaml:"basic_auth_password"`
TenantID string `yaml:"tenant_id"`
UploadRate time.Duration `yaml:"upload_rate"`
ProfileTypes []string `yaml:"profile_types"`
Tags map[string]string `yaml:"tags"`
DisableGCRuns bool `yaml:"disable_gc_runs"`
DisableLog bool `yaml:"disable_log"`
}
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.