Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileConf ¶
type ProfileConf struct { Enable bool `default:"false"` Name string `default:"appserver.template"` ServerAddress string `default:"http://127.0.0.1:4040"` DisableStdio bool `default:"false"` MutexRate int `default:"5"` BlockRate int `default:"5"` SampleRate uint32 `default:"10"` Tags map[string]string `default:"demo"` AuthToken string // specify this token when using pyroscope cloud DisableGCRuns bool // this will disable automatic runtime.GC runs between getting the heap profiles }
func (*ProfileConf) Run ¶
func (c *ProfileConf) Run() error
Click to show internal directories.
Click to hide internal directories.