ebpf

package
v0.0.0-...-463c776 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

Package ebpf contains all the ebpf-based checks.

Index

Constants

View Source
const (
	// CheckName is the name of the check
	CheckName = "ebpf"
)

Variables

This section is empty.

Functions

func Factory

func Factory() optional.Option[func() check.Check]

Factory creates a new check factory

Types

type EBPFCheck

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

EBPFCheck grabs eBPF map/program/perf buffer metrics

func (*EBPFCheck) Configure

func (m *EBPFCheck) Configure(senderManager sender.SenderManager, _ uint64, config, initConfig integration.Data, source string) error

Configure parses the check configuration and init the check

func (*EBPFCheck) Run

func (m *EBPFCheck) Run() error

Run executes the check

type EBPFCheckConfig

type EBPFCheckConfig struct {
}

EBPFCheckConfig is the config of the EBPF check

func (*EBPFCheckConfig) Parse

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

Parse parses the check configuration

Directories

Path Synopsis
Package oomkill contains the OOMKill check.
Package oomkill contains the OOMKill check.
probe
ebpfcheck
Package ebpfcheck is the system-probe side of the eBPF check
Package ebpfcheck is the system-probe side of the eBPF check
ebpfcheck/model
Package model is the types for the eBPF check
Package model is the types for the eBPF check
oomkill
Package oomkill is the system-probe side of the OOM Kill check
Package oomkill is the system-probe side of the OOM Kill check
oomkill/model
Package model is the types for the OOM Kill check
Package model is the types for the OOM Kill check
tcpqueuelength
Package tcpqueuelength is the system-probe side of the TCP Queue Length check
Package tcpqueuelength is the system-probe side of the TCP Queue Length check
tcpqueuelength/model
Package model is the types for the TCP Queue Length check
Package model is the types for the TCP Queue Length check
Package tcpqueuelength contains the TCP Queue Length check
Package tcpqueuelength contains the TCP Queue Length check

Jump to

Keyboard shortcuts

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