# Mismatch in Thread\_Analysis Custom Plugin Entity Type

**URL:** <https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925>\
**Category:** Extensions\
**Tags:** customization, jmx, settings, extensions, queues\
**Created:** [March 21, 2023, 11:17am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925 "2023-03-21T11:17:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [March 21, 2023, 11:17am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/1 "2023-03-21T11:17:46Z")

</div>

There is a custom plugin that we have downloaded from the Dynatrace support site and uploaded in the Dynatrace Under the settings section.

When we checked the plugin json, we can see the entity is mapped to PROCESS\_GROUP\_INSTANCE instead of QUEUE

Can you please help us to understand why the entity name for QUEUE would be specified under PROCESS\_GROUP? not QUEUE?

Also is it fine to change the value and upload it as a separate plugin and see how the data flows?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 21, 2023, 11:26am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/2 "2023-03-21T11:26:39Z")

</div>

Extensions in the first framework can either map to a host or a process group instance. It cannot map to a queue.

That being said, what extension are you talking about? Can you provide a link?

---

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [March 23, 2023, 6:31am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/3 "2023-03-23T06:31:29Z")

</div>

Hi&nbsp;[@Mike\_L](https://community.dynatrace.com/user/11520)&nbsp;,

We are trying to fetch the “Message pending count” and “Message current count” for the jmx queues using the custom plugin-**Thread\_Analysis (version 1.1657608853)**&nbsp;which has Entity type as “PROCESS\_GROUP\_INSTANCE” as dynatrace does not capture these data by default.

And using these metrics , we are creating SLO for the queues which has Entity type as “Queue”. But we are facing error while creating due to **mismatch in Entity type** &nbsp;.

Can you please help me on how SLO’s can be created for the jmx queues (if there is any other way).

Thanks,

Payal Bid

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 23, 2023, 5:32pm UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/4 "2023-03-23T17:32:54Z")

</div>

In not too long we will release JMX extensions in extension framework 2.0. As part of that improvement we will allow the JMX extension creator to use the generic topology to define any topology they want instead of being limited by hosts and process group instances. That should resolve your use case.

---

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [March 27, 2023, 8:56am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/5 "2023-03-27T08:56:28Z")

</div>

Thanks&nbsp;[@Mike\_L](https://community.dynatrace.com/user/11520)&nbsp; , that makes sense.

However, is there any alternate way to make this scenario working for now? Any suggestions or recommendations if you can provide.

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [March 27, 2023, 9:01am UTC](https://community.dynatrace.com/t/mismatch-in-thread-analysis-custom-plugin-entity-type/38925/6 "2023-03-27T09:01:40Z")

</div>

Map the metrics to a process group instance and use the metrics there as part of the SLO. That should work, although it depends a bit on how you need to do visualizations and splittings.
