Documentation ¶
Index ¶
- Constants
- Variables
- type ProcNetdev
- func (s *ProcNetdev) Close(_ proto.ProbeType) error
- func (s *ProcNetdev) Collect(ctx context.Context) (map[string]map[uint32]uint64, error)
- func (s *ProcNetdev) GetMetricNames() []string
- func (s *ProcNetdev) Name() string
- func (s *ProcNetdev) Ready() bool
- func (s *ProcNetdev) Start(_ context.Context, _ proto.ProbeType)
Constants ¶
View Source
const ( ModuleName = "procnetdev" // nolint RxBytes = "RxBytes" RxErrors = "RxErrors" TxBytes = "TxBytes" TxErrors = "TxErrors" RxPackets = "RxPackets" RxDropped = "RxDropped" TxPackets = "TxPackets" TxDropped = "TxDropped" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ProcNetdev ¶
type ProcNetdev struct { }
func GetProbe ¶
func GetProbe() *ProcNetdev
func (*ProcNetdev) GetMetricNames ¶
func (s *ProcNetdev) GetMetricNames() []string
func (*ProcNetdev) Name ¶
func (s *ProcNetdev) Name() string
func (*ProcNetdev) Ready ¶
func (s *ProcNetdev) Ready() bool
Click to show internal directories.
Click to hide internal directories.