Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterEntries ¶
Types ¶
type Entry ¶
type Entry struct { Proto string SrcIP net.IP SrcPort uint DstIP net.IP DstPort uint Txq uint Rxq uint UserId int INode int }
Entry holds the information of a /proc/net/* entry. For example, /proc/net/tcp: sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode 0: 0100007F:13AD 00000000:0000 0A 00000000:00000000 00:00000000 00000000 1000 0 18083222
type Instance ¶
type Instance struct { config.InstanceConfig Laddr_IP string `toml:"laddr_ip"` Laddr_Port uint32 `toml:"laddr_port"` Raddr_IP string `toml:"raddr_ip"` Raddr_Port uint32 `toml:"raddr_port"` // contains filtered or unexported fields }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
type NetStatFilter ¶
type NetStatFilter struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*NetStatFilter) Clone ¶
func (l *NetStatFilter) Clone() inputs.Input
func (*NetStatFilter) GetInstances ¶
func (l *NetStatFilter) GetInstances() []inputs.Instance
func (*NetStatFilter) Name ¶
func (l *NetStatFilter) Name() string
Click to show internal directories.
Click to hide internal directories.