mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
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 <wangrzneu@gmail.com>
This commit is contained in:
parent
7b006e804c
commit
db2614102f
|
@ -1686,7 +1686,7 @@ Available meta labels:
|
||||||
* `__meta_kubernetes_pod_name`: The name of the pod object.
|
* `__meta_kubernetes_pod_name`: The name of the pod object.
|
||||||
* `__meta_kubernetes_pod_ip`: The pod IP of the pod object.
|
* `__meta_kubernetes_pod_ip`: The pod IP of the pod object.
|
||||||
* `__meta_kubernetes_pod_label_<labelname>`: Each label from the pod object.
|
* `__meta_kubernetes_pod_label_<labelname>`: Each label from the pod object.
|
||||||
* `__meta_kubernetes_pod_labelpresent_<labelname>`: `true`for each label from the pod object.
|
* `__meta_kubernetes_pod_labelpresent_<labelname>`: `true` for each label from the pod object.
|
||||||
* `__meta_kubernetes_pod_annotation_<annotationname>`: Each annotation from the pod object.
|
* `__meta_kubernetes_pod_annotation_<annotationname>`: Each annotation from the pod object.
|
||||||
* `__meta_kubernetes_pod_annotationpresent_<annotationname>`: `true` for each annotation from the pod object.
|
* `__meta_kubernetes_pod_annotationpresent_<annotationname>`: `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/)
|
* `__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_namespace`: The namespace of the endpoints object.
|
||||||
* `__meta_kubernetes_endpoints_name`: The names of the endpoints object.
|
* `__meta_kubernetes_endpoints_name`: The names of the endpoints object.
|
||||||
|
* `__meta_kubernetes_endpoints_label_<labelname>`: Each label from the endpoints object.
|
||||||
|
* `__meta_kubernetes_endpoints_labelpresent_<labelname>`: `true` for each label from the endpoints object.
|
||||||
* For all targets discovered directly from the endpoints list (those not additionally inferred
|
* For all targets discovered directly from the endpoints list (those not additionally inferred
|
||||||
from underlying pods), the following labels are attached:
|
from underlying pods), the following labels are attached:
|
||||||
* `__meta_kubernetes_endpoint_hostname`: Hostname of the endpoint.
|
* `__meta_kubernetes_endpoint_hostname`: Hostname of the endpoint.
|
||||||
|
|
Loading…
Reference in a new issue