# Labeldrop prometheus

**URL:** <https://discuss.prometheus.io/t/labeldrop-prometheus/994>\
**Category:** Prometheus server\
**Created:** [May 16, 2022, 7:43pm UTC](https://discuss.prometheus.io/t/labeldrop-prometheus/994 "2022-05-16T19:43:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slack](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@slack](https://discuss.prometheus.io/u/slack)\
**Post date:** [May 16, 2022, 7:43pm UTC](https://discuss.prometheus.io/t/labeldrop-prometheus/994/1 "2022-05-16T19:43:18Z")

</div>

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:

```auto
"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**

```auto
  relabel_configs:
       - action: labeldrop
         regex: 'exported_namespace'

```
