procnetdev

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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) Close

func (s *ProcNetdev) Close(_ proto.ProbeType) error

func (*ProcNetdev) Collect

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

func (*ProcNetdev) GetMetricNames

func (s *ProcNetdev) GetMetricNames() []string

func (*ProcNetdev) Name

func (s *ProcNetdev) Name() string

func (*ProcNetdev) Ready

func (s *ProcNetdev) Ready() bool

func (*ProcNetdev) Start

func (s *ProcNetdev) Start(_ context.Context, _ proto.ProbeType)

Jump to

Keyboard shortcuts

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