Add Kubernetes pod name to metrics discovered from service endpoints

* Prometheus queries from some upstreams use joins of node-exporter
and kube-state-metrics metrics by (namespace,pod). Add the Kubernetes
pod name to service endpoint metrics
* Rename the kubernetes_namespace field to namespace
* Honor labels since kube-state-metrics already include a `pod` field
that should not be overridden
This commit is contained in:
Dalton Hubble
2019-02-07 23:26:59 -08:00
parent 3e4b3bfb04
commit 9c59f393a5
2 changed files with 9 additions and 3 deletions

View File

@ -10,6 +10,9 @@ Notable changes between versions.
#### Addons
* Raise nginx-ingress liveness/readiness timeout to 5 seconds
* Improve Prometheus metrics labels
* Add `pod` name label to metrics discovered via service endpoints
* Rename `kubernetes_namespace` label to `namespace`
## v1.13.3