# Way to Identify Mgmt Zone Metric is part of

**URL:** <https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364>\
**Category:** Open Q&A\
**Tags:** management-zones, dynatrace-managed\
**Created:** [March 3, 2022, 2:11pm UTC](https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364 "2022-03-03T14:11:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 3, 2022, 2:11pm UTC](https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364/1 "2022-03-03T14:11:58Z")

</div>

I make use of the v2/entities call often to identify what mgmt zone things are a part of. Recently we have ramped up ingesting metrics into dynatrace. After successfully ingesting the metric we configure the needed mgmt zone to have access to see the data for that metric. Is there a way to identify which mgmt zone(s) have access to these metrics being ingested in? We’re seeing a lot of the access setup then weeks or months later someone says ‘oh just put it into the same mgmt zone metric xyz is in’. I don’t recall at that point so what I’m having to do is pull up the access of that person who does have access to the first metric to identify which mgmt zone i need to add a rule to.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 30, 2022, 6:01pm UTC](https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364/2 "2022-03-30T18:01:45Z")

</div>

If that metric has a entity page, then in the properties you should see the associated MZs.

 ![ChadTurner_0-1648663279168.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5887be4dacc583561fa0f7c29fbfbe83f4e828ca.png)

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [March 30, 2022, 9:48pm UTC](https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364/3 "2022-03-30T21:48:47Z")

</div>

Hi [@sivart\_89](https://community.dynatrace.com/user/17361) ,

I am guessing you mean custom metrics, afaik there is unfortunately no direct way to add just a specfic metric to a MZ, since MZ are entity centric.

However you can [tag custom ingested metrics](https://www.dynatrace.com/support/help/shortlink/custom-metric-metadata), this means that you can also retrieve all metrics with the same tag via the API e.g.

GET against&nbsp;/api/v2/metrics and using following parameters:

```markup
params = {
    'metadataSelector': 'tags("my_tag")'
}

```

Best,

Mark

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [April 4, 2022, 9:36pm UTC](https://community.dynatrace.com/t/way-to-identify-mgmt-zone-metric-is-part-of/34364/4 "2022-04-04T21:36:53Z")

</div>

Thanks Mark for this and yes I was referring to custom metrics. I believe adding a tag will suffice for us. We can incorporate that into our procedure then have the mgmt zone setup to look for that tag.

Appreciate the information here.
