model

package
v0.0.0-...-c0f4c10 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package model is the types for the TCP Queue Length check

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 {
	CgroupName string `json:"cgroupName"`
}

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

Jump to

Keyboard shortcuts

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