procfd

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FdUsageCheck

type FdUsageCheck struct {
	WarnGe     float64 `toml:"warn_ge"`
	CriticalGe float64 `toml:"critical_ge"`
}

type Instance

type Instance struct {
	config.InternalConfig

	SearchExecName string `toml:"search_exec_name"`
	SearchCmdline  string `toml:"search_cmdline"`
	SearchUser     string `toml:"search_user"`
	SearchPidFile  string `toml:"search_pid_file"`

	Concurrency int `toml:"concurrency"`

	FdUsage FdUsageCheck `toml:"fd_usage"`
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

type ProcfdPlugin

type ProcfdPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*ProcfdPlugin) GetInstances

func (p *ProcfdPlugin) GetInstances() []plugins.Instance

Jump to

Keyboard shortcuts

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