Metrics must have the namespace label to be considered.
For each label on a metric, if that label name corresponds to a Kubernetes resource (like pod or service), the metric will be associated with that resource.
Is there any way to configure it? My labels are "kubernetes_namespace", "kubernetes_pod_name" and so forth. Therefore the metrics I need aren't captured by the adapter. I have an existing and long time running prometheus clusters all over the place, it would be potentially a breaking change to relabel everything.
Hello. This is duplicate to https://github.com/DirectXMan12/k8s-prometheus-adapter/issues/29, but I am not sure which repo is alive nowadays.
So forgive me if I ask in both.
Is there any way to configure it? My labels are "kubernetes_namespace", "kubernetes_pod_name" and so forth. Therefore the metrics I need aren't captured by the adapter. I have an existing and long time running prometheus clusters all over the place, it would be potentially a breaking change to relabel everything.
What's the best way to go here?
Thank you!