profiler

package
v0.0.0-...-96778a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL