Commit ea22fd0f authored by Jimmi Dyson's avatar Jimmi Dyson Committed by Fabian Reinartz

Kubernetes SD: Add node instance label details

parent 10ba63b0
...@@ -317,7 +317,6 @@ The following meta labels are available on targets during relabeling: ...@@ -317,7 +317,6 @@ The following meta labels are available on targets during relabeling:
* `__meta_kubernetes_role`: the role of the target: one of `master`, `node` or * `__meta_kubernetes_role`: the role of the target: one of `master`, `node` or
`service` `service`
* `__meta_kubernetes_node`: the name of the node from the Kubernetes API
* `__meta_kubernetes_node_label_<labelname>`: each node label from the * `__meta_kubernetes_node_label_<labelname>`: each node label from the
Kubernetes API Kubernetes API
* `__meta_kubernetes_service_namespace`: the namespace of the service * `__meta_kubernetes_service_namespace`: the namespace of the service
...@@ -327,6 +326,9 @@ Kubernetes API ...@@ -327,6 +326,9 @@ Kubernetes API
* `__meta_kubernetes_service_annotation_<annotationname>`: each service * `__meta_kubernetes_service_annotation_<annotationname>`: each service
annotation from the Kubernetes API annotation from the Kubernetes API
In addition, the `instance` label for node metrics will be set to the node name
as retrieved from the API server.
See below for the configuration options for Kubernetes discovery: See below for the configuration options for Kubernetes discovery:
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment