# JMX Metrics Kafka

**URL:** <https://community.dynatrace.com/t/jmx-metrics-kafka/46582>\
**Category:** Extensions\
**Tags:** kafka, extensions\
**Created:** [July 12, 2024, 1:19pm UTC](https://community.dynatrace.com/t/jmx-metrics-kafka/46582 "2024-07-12T13:19:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpasinelli](https://avatars.discourse-cdn.com/v4/letter/v/e5b9ba/32.png) [@vpasinelli](https://community.dynatrace.com/u/vpasinelli)\
**Post date:** [July 12, 2024, 1:19pm UTC](https://community.dynatrace.com/t/jmx-metrics-kafka/46582/1 "2024-07-12T13:19:53Z")

</div>

Hello, in a previous post I asked how to modify an extension already present on the hub and I succeeded ( thanks to everyone for the help). Now the problem is that I don’t understand why I can’t make this metric visible:

 ![vpasinelli_1-1720790318531.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/e/5e7a07d4e7543087ff760f193bd6c1b386d36445.png)

( the status of the various tasks).

Another metric I was able to insert correctly but this is not found by Dynatrace. Have any of you already done it?

---

<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:** [July 12, 2024, 1:23pm UTC](https://community.dynatrace.com/t/jmx-metrics-kafka/46582/2 "2024-07-12T13:23:47Z")

</div>

Hi,

Metrics are always numerical, and this is a string. The only way to currently handle that is by storing the value as a dimension, and setting the value to a constant 1. However, we would not update the state when the value changes as it’s only fetched once.

There is a product idea open to resolve this limitation:&nbsp;[https://community.dynatrace.com/t5/Product-ideas/RFE-Always-update-MBean-attribute-value-not-only-when-it-is/idi-p/225102](https://community.dynatrace.com/post/225102)

---

<div class="post-metadata">

**Author:** ![vpasinelli](https://avatars.discourse-cdn.com/v4/letter/v/e5b9ba/32.png) [@vpasinelli](https://community.dynatrace.com/u/vpasinelli)\
**Post date:** [July 12, 2024, 2:21pm UTC](https://community.dynatrace.com/t/jmx-metrics-kafka/46582/3 "2024-07-12T14:21:35Z")

</div>

Thank you so much for the tip. But it seems strange not to see even the Subgroup. Do any of you know?

---

<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:** [July 12, 2024, 2:36pm UTC](https://community.dynatrace.com/t/jmx-metrics-kafka/46582/4 "2024-07-12T14:36:54Z")

</div>

I don’t understand what you mean with not seeing the subgroup. Do you mean that you have more metrics in the same subgroup and none of them are visible in Dynatrace, while metrics in another subgroup are?
