Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Name string `help:"provide the name of the peer to enable continuous cpu/mem profiling for"` Project string `help:"provide the google project id for continuous profiling (required only for non-k8s environments)"` }
Config contains configuration for Profiler.
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
Profiler is a component that initializes the Google continuous profiler.
func NewProfiler ¶
NewProfiler creates a new Profiler.
Click to show internal directories.
Click to hide internal directories.