Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
CollectorAddr string
Service string
Labels profile.Labels `json:",omitempty"`
TickInterval time.Duration `json:",omitempty"`
CPUProfile time.Duration `json:",omitempty"`
HeapProfile bool `json:",omitempty"`
BlockProfile bool `json:",omitempty"`
MutexProfile bool `json:",omitempty"`
GoroutineProfile bool `json:",omitempty"`
ThreadcreationProfile bool `json:",omitempty"`
}
func (*Config) RegisterFlags ¶
Click to show internal directories.
Click to hide internal directories.