I have the metric below and I want to drop the label "exported_namespace=“test” and I am using the prometheus relabel_config but I’m not sure if the config will work properly:
"kube_pod_status_ready{condition="false", env="test", exported_namespace="test", instance="10.69.19.17:8080", job="kube-state-metrics", namespace="test", pod="test-1-deploy", uid="1asdadasaas"}
prometheus scrape config
relabel_configs:
- action: labeldrop
regex: 'exported_namespace'