# Retrieving 1 metric from IBM\_MQ in ActiveGate

**URL:** <https://community.dynatrace.com/t/retrieving-1-metric-from-ibm-mq-in-activegate/35054>\
**Category:** Extensions\
**Tags:** activegate, dynatrace-managed, extensions, ibm-mq\
**Created:** [May 5, 2022, 9:53am UTC](https://community.dynatrace.com/t/retrieving-1-metric-from-ibm-mq-in-activegate/35054 "2022-05-05T09:53:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAR](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@JAR](https://community.dynatrace.com/u/JAR)\
**Post date:** [May 5, 2022, 9:53am UTC](https://community.dynatrace.com/t/retrieving-1-metric-from-ibm-mq-in-activegate/35054/1 "2022-05-05T09:53:06Z")

</div>

Hello everyone!

I have installed the ActiveGate extension for IBM-MQ and works OK. However, I would like to retrieve only a specific metric from all queues and across all channels.

Is it possible to do it by modifying only the JSON and/or the Python?

In these files I cannot find the name of the metric: CURDEPTH

Thanks in advanced.

BR

jose A

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [May 5, 2022, 1:48pm UTC](https://community.dynatrace.com/t/retrieving-1-metric-from-ibm-mq-in-activegate/35054/2 "2022-05-05T13:48:37Z")

</div>

Hi Jose,

Before you make those changes, please be aware that your version would be customized and any updates would overwrite your changes. Also, because your version is customized, Support would not be able to assist you with any issue you encounter as you modified the code so you would lose free Support as well.

Having said that, it is possible to do it by modifying both the Python and JSON code but it is more involved than just looking for the metrics. We offer our services if you want this work done for you, just reach out to [extensions@dynatrace.com](mailto:extensions@dynatrace.com)&nbsp;on how to involve our services.

Hope this helps.

Thanks,

Diego
