Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OOMKillFactory ¶
OOMKillFactory is exported for integration testing
func TCPQueueLengthFactory ¶
TCPQueueLengthFactory is exported for integration testing
Types ¶
type OOMKillCheck ¶
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
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 ¶
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
type TCPQueueLengthConfig ¶
type TCPQueueLengthConfig struct {
CollectTCPQueueLength bool `yaml:"collect_tcp_queue_length"`
}
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
Click to show internal directories.
Click to hide internal directories.