Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Labels = pprof.Labels
View Source
var StandardLogger = &standardLoggerImpl{}
Functions ¶
Types ¶
type Config ¶
type Config struct {
ApplicationName string // e.g backend.purchases
Tags map[string]string
ServerAddress string // e.g http://pyroscope.services.internal:4040
AuthToken string // specify this token when using pyroscope cloud
SampleRate uint32
Logger types.Logger
ProfileTypes []types.ProfileType
DisableGCRuns bool // this will disable automatic runtime.GC runs between getting the heap profiles
}
Click to show internal directories.
Click to hide internal directories.