Documentation
¶
Index ¶
Constants ¶
View Source
const KubeMetricsIsDefinedMetricName = "kube_namespace_created"
View Source
const KubeObjMetricNameMatcher = "kube_.*_status_phase"
KubeObjMetricNameMatcher
PromQl Matcher for kube state metrics
View Source
const KubePodStatusMetricName = "kube_pod_status_phase"
Variables ¶
View Source
var KubeObjMetricCreator = template.Must(template.New("KubeObject").Parse("kube_{{.ObjType}}_status_phase"))
View Source
var KubeObjTypeExtractor = regexp.MustCompile("kube_(.*)_status_phase")
KubeObjTypeExtractor
Group 1 extracts the object type
View Source
var KubeStateAlertIdLabels = []string{}
View Source
var KubeStateAnnotations = map[string]string{}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.