Documentation
¶
Index ¶
Constants ¶
const ( // when fail get kubernetes labe fail use DefaultKubeContextValue as default DefaultKubeContextValue = "unknown" MaxCachePidKubeInfoTimeSecond = 30 )
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 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 KubeContainerName ¶
type KubeContainerName struct {
// contains filtered or unexported fields
}
KubeContainerName is a decoder that transforms pid representation into kubernetes pod container name
type KubeContext ¶
type KubeContext struct {
// contains filtered or unexported fields
}
KubeContext kubernetes context info cache
type KubeInfo ¶
type KubeInfo struct {
// contains filtered or unexported fields
}
KubeInfo kubernetes context info
type KubePodName ¶
type KubePodName struct {
// contains filtered or unexported fields
}
KubePodName is a decoder that transforms pid representation into kubernetes pod name
type KubePodNamespace ¶
type KubePodNamespace struct {
// contains filtered or unexported fields
}
KubePodNamespace is a decoder that transforms pid representation into kubernetes pod namespace
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