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:"read_buffer_max_usage"` WriteBufferMaxUsage uint32 `json:"write_buffer_max_usage"` }
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 ¶
func (t *TCPQueueLengthTracer) Get() []TCPQueueLengthStats
Get is not implemented on non-linux systems
func (*TCPQueueLengthTracer) GetAndFlush ¶
func (t *TCPQueueLengthTracer) GetAndFlush() []TCPQueueLengthStats
GetAndFlush is not implemented on non-linux systems