Documentation ¶
Index ¶
- Constants
- type PacketLossProbe
- func (p *PacketLossProbe) Close(probeType proto.ProbeType) 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, probeType proto.ProbeType)
Constants ¶
View Source
const ( ModuleName = "insp_packetloss" PACKETLOSS_ABNORMAL = "packetloss_abnormal" PACKETLOSS_TOTAL = "packetloss_total" PACKETLOSS_NETFILTER = "packetloss_netfilter" PACKETLOSS_TCPSTATEM = "packetloss_tcpstatm" PACKETLOSS_TCPRCV = "packetloss_tcprcv" PACKETLOSS_TCPHANDLE = "packetloss_tcphandle" 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) 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
Click to show internal directories.
Click to hide internal directories.