Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct{}
CPU converts node_exporter cpu labels from 0-indexed to 1-indexed with prefix
func (CPU) Decorate ¶
func (CPU) Decorate(mfs []*dto.MetricFamily)
Decorate executes the decorator against the give metrics
type Disk ¶
type Disk struct{}
Disk converts node_exporter disk metrics from bytes to sectors
func (Disk) Decorate ¶
func (Disk) Decorate(mfs []*dto.MetricFamily)
Decorate converts bytes to sectors
Click to show internal directories.
Click to hide internal directories.