probe

package
v0.0.2-0...-4ce78c8 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OOMKillProbe

type OOMKillProbe struct{}

OOMKillProbe is not implemented on non-linux systems

func NewOOMKillProbe

func NewOOMKillProbe(cfg *ebpf.Config) (*OOMKillProbe, error)

NewOOMKillProbe is not implemented on non-linux systems

func (*OOMKillProbe) Close

func (t *OOMKillProbe) Close()

Close is not implemented on non-linux systems

func (*OOMKillProbe) Get

func (t *OOMKillProbe) Get() []OOMKillStats

Get is not implemented on non-linux systems

func (*OOMKillProbe) GetAndFlush

func (t *OOMKillProbe) GetAndFlush() []OOMKillStats

GetAndFlush is not implemented on non-linux systems

type OOMKillStats

type OOMKillStats struct {
	ContainerID string `json:"containerid"`
	Pid         uint32 `json:"pid"`
	TPid        uint32 `json:"tpid"`
	FComm       string `json:"fcomm"`
	TComm       string `json:"tcomm"`
	Pages       uint64 `json:"pages"`
	MemCgOOM    uint32 `json:"memcgoom"`
}

OOMKillStats contains the statistics of a given socket

type TCPQueueLengthStats

type TCPQueueLengthStats map[string]TCPQueueLengthStatsValue

TCPQueueLengthStats is the map of the maximum fill rate of the read and write buffers per container

type TCPQueueLengthStatsKey

type TCPQueueLengthStatsKey struct {
	ContainerID string `json:"containerid"`
}

TCPQueueLengthStatsKey is the type of the `TCPQueueLengthStats` map key: the container ID

type TCPQueueLengthStatsValue

type TCPQueueLengthStatsValue struct {
	ReadBufferMaxUsage  uint32 `json:"readBufferMaxUsage"`
	WriteBufferMaxUsage uint32 `json:"writeBufferMaxUsage"`
}

TCPQueueLengthStatsValue is the type of the `TCPQueueLengthStats` map value: the maximum fill rate of busiest read and write buffers

type TCPQueueLengthTracer

type TCPQueueLengthTracer struct{}

TCPQueueLengthTracer is not implemented on non-linux systems

func NewTCPQueueLengthTracer

func NewTCPQueueLengthTracer(cfg *ebpf.Config) (*TCPQueueLengthTracer, error)

NewTCPQueueLengthTracer is not implemented on non-linux systems

func (*TCPQueueLengthTracer) Close

func (t *TCPQueueLengthTracer) Close()

Close is not implemented on non-linux systems

func (*TCPQueueLengthTracer) Get

Get is not implemented on non-linux systems

func (*TCPQueueLengthTracer) GetAndFlush

func (t *TCPQueueLengthTracer) GetAndFlush() []TCPQueueLengthStats

GetAndFlush is not implemented on non-linux systems

Jump to

Keyboard shortcuts

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