The highest tagged major version is
v7.
package
Version:
v6.2.1+incompatible
Opens a new window with list of versions in this module.
Published: Feb 7, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cpu collects CPU metrics from the host OS.
New is a mb.MetricSetFactory that returns a cpu.MetricSet.
type Config struct {
Metrics []string `config:"cpu.metrics"`
CPUTicks *bool `config:"cpu_ticks"`
}
Config for the system cpu metricset.
Validate validates the cpu config.
MetricSet for fetching system CPU metrics.
Fetch fetches CPU metrics from the OS.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.