Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCollector ¶
Types ¶
type Config ¶
type Config struct { // InfluxDb scheme://host:port // Default is "http://localhost:8086". Addr string AuthToken string // Organization Org string // Bucket to write points to. // Default is "statsCollector" and is auto created Bucket string // Measurement to write points to. // Default is "go.runtime.<hostname>". Measurement string // Flush interval in ms FlushInterval uint // Interval at which to collect points. // Default is 10 seconds CollectionInterval time.Duration // Disable collecting CPU Statistics. cpu.* // Default is false DisableCpu bool // Disable collecting Memory Statistics. mem.* DisableMem bool }
Click to show internal directories.
Click to hide internal directories.