Documentation
¶
Index ¶
- Constants
- type PacketLossProbe
- func (p *PacketLossProbe) Close() error
- func (p *PacketLossProbe) Collect(ctx context.Context) (map[string]map[uint32]uint64, error)
- func (p *PacketLossProbe) GetEventNames() []string
- func (p *PacketLossProbe) GetMetricNames() []string
- func (p *PacketLossProbe) Name() string
- func (p *PacketLossProbe) Ready() bool
- func (p *PacketLossProbe) Register(receiver chan<- proto.RawEvent) error
- func (p *PacketLossProbe) Start(ctx context.Context)
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) 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)
Click to show internal directories.
Click to hide internal directories.