# Alertmanager namespace label=prometheus-Operator

**URL:** <https://discuss.prometheus.io/t/alertmanager-namespace-label-prometheus-operator/1637>\
**Category:** General Help/Support\
**Created:** [May 8, 2023, 8:42am UTC](https://discuss.prometheus.io/t/alertmanager-namespace-label-prometheus-operator/1637 "2023-05-08T08:42:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimle](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@dimle](https://discuss.prometheus.io/u/dimle)\
**Post date:** [May 8, 2023, 8:42am UTC](https://discuss.prometheus.io/t/alertmanager-namespace-label-prometheus-operator/1637/1 "2023-05-08T08:42:16Z")

</div>

Hey! I’ve been trying to figure out for a long time why I have to set a ‘routes-\> namespace: prometheus’ in alertmanagerconfig, including a same label in PrometheusRule.yaml. Without this label, alarms are still displayed in Prometheus and Alertmanager web, but it will not be fired to slack. I have tried to understand the Helm chart, and wonder if it is the specifications in alertmanager’s servicemonitor.yaml that determine this label?  
‘[GitHub - prometheus-community/helm-charts: Prometheus community Helm charts](https://github.com/prometheus-community/helm-charts)’.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/prometheus/original/1X/4003645c8ca77550df491410e75374ea4b5a011c.png)

Sorry the inconvenience, but i really try to understand how Prometheus and Alertmanager works 🙂
