From db2614102f3a5c65e1e7e4571c20c6f50e5ce742 Mon Sep 17 00:00:00 2001 From: "renzheng.wang" Date: Thu, 30 Jun 2022 20:52:53 +0800 Subject: [PATCH] add description for __meta_kubernetes_endpoints_label_* and __meta_kubernetes_endpoints_labelpresent_* (#10911) * add description for __meta_kubernetes_endpoints_label_* and __meta_kubernetes_endpoints_labelpresent_* Signed-off-by: renzheng.wang --- docs/configuration/configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index b1e3bb47d..717d97bda 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -1686,7 +1686,7 @@ Available meta labels: * `__meta_kubernetes_pod_name`: The name of the pod object. * `__meta_kubernetes_pod_ip`: The pod IP of the pod object. * `__meta_kubernetes_pod_label_`: Each label from the pod object. -* `__meta_kubernetes_pod_labelpresent_`: `true`for each label from the pod object. +* `__meta_kubernetes_pod_labelpresent_`: `true` for each label from the pod object. * `__meta_kubernetes_pod_annotation_`: Each annotation from the pod object. * `__meta_kubernetes_pod_annotationpresent_`: `true` for each annotation from the pod object. * `__meta_kubernetes_pod_container_init`: `true` if the container is an [InitContainer](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/) @@ -1713,6 +1713,8 @@ Available meta labels: * `__meta_kubernetes_namespace`: The namespace of the endpoints object. * `__meta_kubernetes_endpoints_name`: The names of the endpoints object. +* `__meta_kubernetes_endpoints_label_`: Each label from the endpoints object. +* `__meta_kubernetes_endpoints_labelpresent_`: `true` for each label from the endpoints object. * For all targets discovered directly from the endpoints list (those not additionally inferred from underlying pods), the following labels are attached: * `__meta_kubernetes_endpoint_hostname`: Hostname of the endpoint.