Versions in this module Expand all Collapse all v1 v1.0.1 Jan 12, 2021 v1.0.0 Jan 12, 2021 Changes in this version + var DefaultConfig = &Config + func RunCollector(config *Config) (err error) + type Config struct + BatchInterval time.Duration + CollectionInterval time.Duration + Database string + DisableCpu bool + DisableGc bool + DisableMem bool + Host string + Logger Logger + Measurement string + Password string + Precision string + RetentionPolicy string + Username string + type DefaultLogger struct + func (*DefaultLogger) Fatalln(v ...interface{}) + func (*DefaultLogger) Println(v ...interface{}) + type Logger interface + Fatalln func(v ...interface{}) + Println func(v ...interface{})