package
Version:
v6.1.4
Opens a new window with list of versions in this module.
Published: Mar 12, 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.