# Unable to Select Existing Namespace "gcxi" While Creating Metric Event Alert for Pod Restarts

**URL:** <https://community.dynatrace.com/t/unable-to-select-existing-namespace-gcxi-while-creating-metric-event-alert-for-pod-restarts/51412>\
**Category:** Container platforms\
**Tags:** openshift, dynatrace-operator\
**Created:** [April 29, 2025, 7:48am UTC](https://community.dynatrace.com/t/unable-to-select-existing-namespace-gcxi-while-creating-metric-event-alert-for-pod-restarts/51412 "2025-04-29T07:48:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aboud](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Aboud](https://community.dynatrace.com/u/Aboud)\
**Post date:** [April 29, 2025, 7:48am UTC](https://community.dynatrace.com/t/unable-to-select-existing-namespace-gcxi-while-creating-metric-event-alert-for-pod-restarts/51412/1 "2025-04-29T07:48:47Z")

</div>

Hi,

I am trying to create a&nbsp; **custom metric event alert** &nbsp;in Dynatrace to notify us when pods in the “gcxi”&nbsp;namespace restart.

I attempted to filter the dimension by&nbsp; **Kubernetes namespace =&nbsp;gcxi** , but this namespace&nbsp; **does not appear in the list of available values** , even though it exists in our OpenShift cluster and contains active pod.

- Goal: Trigger alert when any pod in&nbsp;gcxi&nbsp;namespace restarts
- Issue: Namespace&nbsp;gcxi&nbsp;not available in the “dimension filter” value list
- Namespace status: Confirmed existing and active in the cluster

**Request:**  
Could you help confirm:

1. Why the&nbsp;gcxi&nbsp;namespace is not showing in the dimension selector?
2. Is there a delay in Dynatrace discovering new namespaces or metrics from them?
3. How can we create a working alert for pod restarts specifically in&nbsp;gcxi?

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [April 29, 2025, 8:42pm UTC](https://community.dynatrace.com/t/unable-to-select-existing-namespace-gcxi-while-creating-metric-event-alert-for-pod-restarts/51412/2 "2025-04-29T20:42:38Z")

</div>

Could you please paste here the metric you are using for this?

Are you able to see the namespace as a dimension for this metric? And if yes, in data explorer, are you able to see all others namespace as dimension value? Is this namespace appearing when you navigate thru the cluster/workload data?

---

<div class="post-metadata">

**Author:** ![Aboud](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Aboud](https://community.dynatrace.com/u/Aboud)\
**Post date:** [April 30, 2025, 6:15am UTC](https://community.dynatrace.com/t/unable-to-select-existing-namespace-gcxi-while-creating-metric-event-alert-for-pod-restarts/51412/3 "2025-04-30T06:15:33Z")

</div>

After further investigation, we identified that the issue with the non-functional OneAgent pod restart alert was due to the selection of a specific Management Zone during the alert configuration. The namespace (cxi) and its associated pods were not included in that Management Zone, which caused the alert to return no data and appear inactive.

Once we removed the Management Zone filter from the alert, it began working as expected, and the restart data was properly reflected.

The issue is now resolved on our side.
