tcpqueuelength

package
v0.0.0-...-1dd94e2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Factory

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

Factory creates a new check factory

Types

type TCPQueueLengthCheck

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

TCPQueueLengthCheck grabs TCP queue length metrics

func (*TCPQueueLengthCheck) Configure

func (t *TCPQueueLengthCheck) Configure(senderManager sender.SenderManager, integrationConfigDigest uint64, config, initConfig integration.Data, source string) error

Configure parses the check configuration and init the check

func (*TCPQueueLengthCheck) Run

func (t *TCPQueueLengthCheck) Run() error

Run executes the check

type TCPQueueLengthConfig

type TCPQueueLengthConfig struct {
	CollectTCPQueueLength bool `yaml:"collect_tcp_queue_length"`
}

TCPQueueLengthConfig is the config of the TCP Queue Length check

func (*TCPQueueLengthConfig) Parse

func (t *TCPQueueLengthConfig) Parse(data []byte) error

Parse parses the check configuration and init the check

Jump to

Keyboard shortcuts

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