package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

CreateCPUProfile will gather a CPU profile over a given time duration.
GlobalHooks returns the global hooks that can be used at anytime with no other references.
ZipArchive creates a zipped diagnostics bundle using the passed writer with the passed diagnostics and local logs.

# Constants

ContentTypeDirectory should be used to indicate that a directory should be made in the resulting bundle.
DiagCPU* are contstants to describe the CPU profile that is collected when the --cpu-profile flag is used with the diagnostics command, or the diagnostics action contains "CPU" in the additional_metrics list.
DiagCPU* are contstants to describe the CPU profile that is collected when the --cpu-profile flag is used with the diagnostics command, or the diagnostics action contains "CPU" in the additional_metrics list.
DiagCPU* are contstants to describe the CPU profile that is collected when the --cpu-profile flag is used with the diagnostics command, or the diagnostics action contains "CPU" in the additional_metrics list.
DiagCPU* are contstants to describe the CPU profile that is collected when the --cpu-profile flag is used with the diagnostics command, or the diagnostics action contains "CPU" in the additional_metrics list.
DiagCPU* are contstants to describe the CPU profile that is collected when the --cpu-profile flag is used with the diagnostics command, or the diagnostics action contains "CPU" in the additional_metrics list.
REDACTED is used to replace sensative fields.

# Structs

Hook is a hook that gets used when diagnostic information is requested from the Elastic Agent.

# Type aliases

Hooks is a set of diagnostic hooks.