Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( cpuStatFn func(time.Duration, bool) ([]float64, error), swapMemoryStatFn func() (*mem.SwapMemoryStat, error), virtualMemoryStatFn func() (*mem.VirtualMemoryStat, error), diskStatFn func(bool) ([]disk.PartitionStat, error), diskUsageFn func(string) (*disk.UsageStat, error), netStatFn func(bool) ([]net.IOCountersStat, error), timeFn func() *timestamp.Timestamp, ) *agent
Types ¶
Click to show internal directories.
Click to hide internal directories.