Versions in this module Expand all Collapse all v0 v0.1.1 Jun 18, 2015 v0.1.0 Jun 18, 2015 Changes in this version + type CPUStats struct + func (_ *CPUStats) Description() string + func (_ *CPUStats) SampleConfig() string + func (s *CPUStats) Gather(acc plugins.Accumulator) error + type DiskIOStats struct + func (_ *DiskIOStats) Description() string + func (_ *DiskIOStats) SampleConfig() string + func (s *DiskIOStats) Gather(acc plugins.Accumulator) error + type DiskStats struct + func (_ *DiskStats) Description() string + func (_ *DiskStats) SampleConfig() string + func (s *DiskStats) Gather(acc plugins.Accumulator) error + type DockerContainerStat struct + CPU *cpu.CPUTimesStat + Command string + Id string + Mem *docker.CgroupMemStat + Name string + type DockerStats struct + func (_ *DockerStats) Description() string + func (_ *DockerStats) SampleConfig() string + func (s *DockerStats) Gather(acc plugins.Accumulator) error + type MemStats struct + func (_ *MemStats) Description() string + func (_ *MemStats) SampleConfig() string + func (s *MemStats) Gather(acc plugins.Accumulator) error + type MockPS struct + func (m *MockPS) CPUTimes() ([]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) NetIO() ([]net.NetIOCountersStat, 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 plugins.Accumulator) error + type PS interface + CPUTimes func() ([]cpu.CPUTimesStat, error) + DiskIO func() (map[string]disk.DiskIOCountersStat, error) + DiskUsage func() ([]*disk.DiskUsageStat, error) + DockerStat func() ([]*DockerContainerStat, error) + LoadAvg func() (*load.LoadAvgStat, error) + NetIO func() ([]net.NetIOCountersStat, 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 plugins.Accumulator) error + type SystemStats struct + func (_ *SystemStats) Description() string + func (_ *SystemStats) SampleConfig() string + func (s *SystemStats) Gather(acc plugins.Accumulator) error