Documentation ¶
Overview ¶
Package oomkill contains the OOMKill check.
Index ¶
Constants ¶
View Source
const (
// CheckName is the name of the check
CheckName = "oom_kill"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OOMKillCheck ¶
OOMKillCheck grabs OOM Kill metrics
func (*OOMKillCheck) Configure ¶
func (m *OOMKillCheck) Configure(senderManager sender.SenderManager, _ uint64, 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
Click to show internal directories.
Click to hide internal directories.