Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrSkipLabelSet = errors.New("this label set should be skipped")
ErrSkipLabelSet instructs exporter to skip label set
Functions ¶
This section is empty.
Types ¶
type CGroup ¶
type CGroup struct {
// contains filtered or unexported fields
}
CGroup is a decoder that transforms cgroup id to path in cgroupfs
type Decoder ¶
Decoder transforms byte field value into a byte value representing string to either use as an input for another Decoder or to use as the final label value for Prometheus metrics
type InetIP ¶
type InetIP struct{}
InetIP is a decoder that transforms an ip byte representation into a string
type KSym ¶
type KSym struct {
// contains filtered or unexported fields
}
KSym is a decoder that transforms kernel address to a function name
type MajorMinor ¶
type MajorMinor struct {
// contains filtered or unexported fields
}
MajorMinor is a decoder that transforms minormajor device id into name
type Regexp ¶
type Regexp struct {
// contains filtered or unexported fields
}
Regexp is a decoder that only allows inputs matching regexp
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
Set is a set of Decoders that may be applied to produce a label
type StaticMap ¶
type StaticMap struct{}
StaticMap is a decoded that maps values according to a static map