ebpf

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OOMKillFactory

func OOMKillFactory() check.Check

OOMKillFactory is exported for integration testing

func TCPQueueLengthFactory

func TCPQueueLengthFactory() check.Check

TCPQueueLengthFactory is exported for integration testing

Types

type OOMKillCheck

type OOMKillCheck struct {
	core.CheckBase
	// contains filtered or unexported fields
}

OOMKillCheck grabs OOM Kill metrics

func (*OOMKillCheck) Configure

func (m *OOMKillCheck) Configure(config, initConfig integration.Data, source string) error

Configure parses the check configuration and init the check

func (*OOMKillCheck) Run

func (m *OOMKillCheck) Run() error

Run executes the check

type OOMKillConfig

type OOMKillConfig struct {
	CollectOOMKill bool `yaml:"collect_oom_kill"`
}

OOMKillConfig is the config of the OOMKill check

func (*OOMKillConfig) Parse

func (c *OOMKillConfig) Parse(data []byte) error

Parse parses the check configuration

type TCPQueueLengthCheck

type TCPQueueLengthCheck struct {
	core.CheckBase
	// contains filtered or unexported fields
}

TCPQueueLengthCheck grabs TCP queue length metrics

func (*TCPQueueLengthCheck) Configure

func (t *TCPQueueLengthCheck) Configure(config, initConfig integration.Data, source string) error

Configure parses the check configuration and init the check

func (*TCPQueueLengthCheck) Run

func (t *TCPQueueLengthCheck) Run() error

Run executes the check

type TCPQueueLengthConfig

type TCPQueueLengthConfig struct {
	CollectTCPQueueLength bool `yaml:"collect_tcp_queue_length"`
	OnlyCountNbContexts   bool `yaml:"only_count_nb_contexts"` // For impact analysis only. To be removed after
}

TCPQueueLengthConfig is the config of the TCP Queue Length check

func (*TCPQueueLengthConfig) Parse

func (t *TCPQueueLengthConfig) Parse(data []byte) error

Parse parses the check configuration and init the check

Jump to

Keyboard shortcuts

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