tracepacketloss

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE_NAME         = "insp_packetloss"
	PACKETLOSS_ABNORMAL = "packetloss_abnormal"
	PACKETLOSS_TOTAL    = "packetloss_total"

	PACKETLOSS = "PACKETLOSS"
)

nolint

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketLossProbe

type PacketLossProbe struct {
	// contains filtered or unexported fields
}

func GetProbe

func GetProbe() *PacketLossProbe

func (*PacketLossProbe) Close

func (p *PacketLossProbe) Close() error

func (*PacketLossProbe) Collect

func (p *PacketLossProbe) Collect(ctx context.Context) (map[string]map[uint32]uint64, error)

func (*PacketLossProbe) GetEventNames

func (p *PacketLossProbe) GetEventNames() []string

func (*PacketLossProbe) GetMetricNames

func (p *PacketLossProbe) GetMetricNames() []string

func (*PacketLossProbe) Name

func (p *PacketLossProbe) Name() string

func (*PacketLossProbe) Ready

func (p *PacketLossProbe) Ready() bool

func (*PacketLossProbe) Register

func (p *PacketLossProbe) Register(receiver chan<- proto.RawEvent) error

func (*PacketLossProbe) Start

func (p *PacketLossProbe) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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