discovery/kubernetes: add present labels for labels/annotations (#5443)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2019-04-10 14:21:42 +02:00 committed by Brian Brazil
parent c1682adb2f
commit dafd1632a2
12 changed files with 117 additions and 77 deletions

View file

@ -43,6 +43,7 @@ const (
metaLabelPrefix = model.MetaLabelPrefix + "kubernetes_"
namespaceLabel = metaLabelPrefix + "namespace"
metricsNamespace = "prometheus_sd_kubernetes"
presentValue = model.LabelValue("true")
)
var (