ebpf

package
v0.0.0-...-684d5ac Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 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() option.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
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