Documentation
¶
Overview ¶
Package profiler provides a flare folder containing the output of various agent's pprof servers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { // ReadPofileData Gathers and returns pprof server output for a variety of agent services. // // Will always attempt to read the pprof of core-agent and security-agent, and will optionally try to read information for // process-agent, trace-agent, and system-probe if those systems are detected as enabled. // // This function is exposed via the public api to support the flare generation cli command. While the goal // is to move the profiling component completely into a flare provider, the existing architecture // expects an explicit and pre-emptive profiling run before the flare logic is properly called. ReadProfileData(seconds int, logFunc func(log string, params ...interface{}) error) (flaretypes.ProfileData, error) }
Component is the component type
Click to show internal directories.
Click to hide internal directories.