# Chart for JVM stuck threads

**URL:** <https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533>\
**Category:** Dashboarding\
**Tags:** jvm, reports, dashboards-classic\
**Created:** [March 17, 2022, 12:57am UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533 "2022-03-17T00:57:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricio\_capiz](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mauricio\_capiz](https://community.dynatrace.com/u/mauricio_capiz)\
**Post date:** [March 17, 2022, 12:57am UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/1 "2022-03-17T00:57:00Z")

</div>

Hello,

is it possible to generate charts and alerts for JVM threads that are in a stuck state?

This is the type of thread you expect to see:

![mauricio_capiz_0-1647478552925.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e8df440a1e9db9e2a913f39304d781c55a11a16d.png)

Thank you

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [March 17, 2022, 6:15am UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/2 "2022-03-17T06:15:27Z")

</div>

Hello&nbsp;[@mauricio\_capiz](https://community.dynatrace.com/user/37260)

It seems you are looking for the hung threads. We are using a builtin feature 'U_se JMX/PMI extension editor to add custom metrics without coding.’_&nbsp;to get the hung threads for the traditional WebSphere.

You can try this feature in case it is available for Weblogic. Otherwise, you might have to use your own custom-built OneAgent extension.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![mauricio\_capiz](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@mauricio\_capiz](https://community.dynatrace.com/u/mauricio_capiz)\
**Post date:** [May 18, 2022, 12:41am UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/3 "2022-05-18T00:41:50Z")

</div>

Hello&nbsp;[@Babar\_Qayyum](https://community.dynatrace.com/user/22017)

Thank you for you help. That took some time but it worked.

Regards.

---

<div class="post-metadata">

**Author:** ![john\_gallina](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@john\_gallina](https://community.dynatrace.com/u/john_gallina)\
**Post date:** [August 21, 2024, 12:49pm UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/4 "2024-08-21T12:49:05Z")

</div>

I am looking for a metric for JVM hung threads. I would like to pick a management zone and split by and filter by a chart showing a hung state count or a chart showing how long these threads are showing still connected/still running(time) or do I need a custom OneAgent extension built?

Is there something built-in Dynatrace or do I need a

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 21, 2024, 1:28pm UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/5 "2024-08-21T13:28:56Z")

</div>

Hi,

You can see [here](https://docs.dynatrace.com/docs/shortlink/built-in-metrics#jvm) built JVM metrics.

If your metric, if not there, you can try to find some extension in [Hub](https://www.dynatrace.com/hub), in relation to your technology stack.

Best regards

---

<div class="post-metadata">

**Author:** ![john\_gallina](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@john\_gallina](https://community.dynatrace.com/u/john_gallina)\
**Post date:** [August 21, 2024, 5:36pm UTC](https://community.dynatrace.com/t/chart-for-jvm-stuck-threads/34533/6 "2024-08-21T17:36:48Z")

</div>

Thanks! I requested the Tomcat (JMX) ext. It says it is for JMX monitoring of Tomcat connections, thread pools, and web requests…
