Versions in this module Expand all Collapse all v0 v0.10.0 Jan 9, 2016 Changes in this version + type CPUStats struct + PerCPU bool + TotalCPU bool + func NewCPUStats(ps PS) *CPUStats + func (_ *CPUStats) Description() string + func (_ *CPUStats) SampleConfig() string + func (s *CPUStats) Gather(acc inputs.Accumulator) error + type DiskIOStats struct + Devices []string + SkipSerialNumber bool + func (_ *DiskIOStats) Description() string + func (_ *DiskIOStats) SampleConfig() string + func (s *DiskIOStats) Gather(acc inputs.Accumulator) error + type DiskStats struct + Mountpoints []string + func (_ *DiskStats) Description() string + func (_ *DiskStats) SampleConfig() string + func (s *DiskStats) Gather(acc inputs.Accumulator) error + type DockerContainerStat struct + CPU *cpu.CPUTimesStat + Command string + Id string + Labels map[string]string + Mem *docker.CgroupMemStat + Name string + type DockerStats struct — linux/amd64 + func (_ *DockerStats) Description() string + func (_ *DockerStats) SampleConfig() string + func (s *DockerStats) Gather(acc inputs.Accumulator) error + type MemStats struct + func (_ *MemStats) Description() string + func (_ *MemStats) SampleConfig() string + func (s *MemStats) Gather(acc inputs.Accumulator) error + type MockPS struct + func (m *MockPS) CPUTimes(perCPU, totalCPU bool) ([]cpu.CPUTimesStat, error) + func (m *MockPS) DiskIO() (map[string]disk.DiskIOCountersStat, error) + func (m *MockPS) DiskUsage() ([]*disk.DiskUsageStat, error) + func (m *MockPS) DockerStat() ([]*DockerContainerStat, error) + func (m *MockPS) LoadAvg() (*load.LoadAvgStat, error) + func (m *MockPS) NetConnections() ([]net.NetConnectionStat, error) + func (m *MockPS) NetIO() ([]net.NetIOCountersStat, error) + func (m *MockPS) NetProto() ([]net.NetProtoCountersStat, error) + func (m *MockPS) SwapStat() (*mem.SwapMemoryStat, error) + func (m *MockPS) VMStat() (*mem.VirtualMemoryStat, error) + type NetIOStats struct + Interfaces []string + func (_ *NetIOStats) Description() string + func (_ *NetIOStats) SampleConfig() string + func (s *NetIOStats) Gather(acc inputs.Accumulator) error + type NetStats struct + func (_ *NetStats) Description() string + func (_ *NetStats) SampleConfig() string + func (s *NetStats) Gather(acc inputs.Accumulator) error + type PS interface + CPUTimes func(perCPU, totalCPU bool) ([]cpu.CPUTimesStat, error) + DiskIO func() (map[string]disk.DiskIOCountersStat, error) + DiskUsage func() ([]*disk.DiskUsageStat, error) + DockerStat func() ([]*DockerContainerStat, error) + NetConnections func() ([]net.NetConnectionStat, error) + NetIO func() ([]net.NetIOCountersStat, error) + NetProto func() ([]net.NetProtoCountersStat, error) + SwapStat func() (*mem.SwapMemoryStat, error) + VMStat func() (*mem.VirtualMemoryStat, error) + type SwapStats struct + func (_ *SwapStats) Description() string + func (_ *SwapStats) SampleConfig() string + func (s *SwapStats) Gather(acc inputs.Accumulator) error + type SystemStats struct + func (_ *SystemStats) Description() string + func (_ *SystemStats) Gather(acc inputs.Accumulator) error + func (_ *SystemStats) SampleConfig() string