# Long running thread

**URL:** <https://community.dynatrace.com/t/long-running-thread/48201>\
**Category:** Alerting\
**Tags:** jvm, anomaly-detection\
**Created:** [October 8, 2024, 6:57am UTC](https://community.dynatrace.com/t/long-running-thread/48201 "2024-10-08T06:57:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suryansh21](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@suryansh21](https://community.dynatrace.com/u/suryansh21)\
**Post date:** [October 8, 2024, 6:57am UTC](https://community.dynatrace.com/t/long-running-thread/48201/1 "2024-10-08T06:57:16Z")

</div>

Hello community,

How we can navigate in Dynatrace SaaS to get the long running threads of JBoss process. I checked in JVM metrics in dynatrace Saas but I was unable to find the long running thread. Please help me out.

---

<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:** [October 8, 2024, 10:20am UTC](https://community.dynatrace.com/t/long-running-thread/48201/2 "2024-10-08T10:20:46Z")

</div>

Hi,

Have you check [Continuous thread analysis](https://docs.dynatrace.com/docs/shortlink/continuous-thread-analysis)&nbsp;?

Best regards

---

<div class="post-metadata">

**Author:** ![suryansh21](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@suryansh21](https://community.dynatrace.com/u/suryansh21)\
**Post date:** [October 8, 2024, 10:45am UTC](https://community.dynatrace.com/t/long-running-thread/48201/3 "2024-10-08T10:45:58Z")

</div>

![suryansh21_0-1728384127428.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/e/ce655256e3b1db498cdc173ae400f3091c842e4b.png)

So by looking at estimated CPU time , can we say that the thread with high CPU Time is considered as a long running thread

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [October 8, 2024, 1:56pm UTC](https://community.dynatrace.com/t/long-running-thread/48201/4 "2024-10-08T13:56:31Z")

</div>

Hi&nbsp;[@suryansh21](https://community.dynatrace.com/user/80497)

Either through SaaS or Managed the same approach can be followed:

**SaaS**

 ![2024-10-08_17h29_00.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/4/842245d010ca65699e4ba2f277aae1a5e1a227ac.png)

**Managed**

 ![2024-10-08_17h39_35.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/5/d554b7aad73a10fa9a496a4d52ff3defb04a8457.png)

1. Under Observe & Explore \> Metrics \> check the JVM Metrics and use Filter by and Split to Get full details.
2. Under Observe & Explore \> Data Explorer \> JVM.
3. Based on the visualization style you’re designing you can see full insights.

 ![2024-10-08_17h24_20.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bf30f749c190907b5dbb2e99f379fd3e0e28f0c6.png)

 ![2024-10-08_17h36_02.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/0/70d37e9636bbfefd1ce9bfadb69c19d1c3ce44b3.png)

 ![2024-10-08_17h43_04.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/9/696d0ab3a0726afe2b94bb3b5d4cde94f2848fcd.png)

 ![2024-10-08_17h45_06.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/f/af7df37d9e0a99f61309c7b746523ec5269ce9b2.png)

😊That’s all what Dynatrace has as of now regarding JVM.😎😉

- Also you can navigate profiling & optimization \> and you will be able to see the most CPU consuming processes and technologies.

 ![2024-10-08_17h49_35.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/a4d18a0ee7aa80955df76ffe417efa7480e5951c.png)

 ![2024-10-08_17h50_38.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/7/27c19e2b54cc7b84e9cd2e2b889122d5634d5d43.png)

 ![2024-10-08_17h51_56.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bb987391a69a7226cfcf83f153ee517c937d1618.png)

 ![2024-10-08_17h53_30.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/6/d6734780e65f03b7a10a685826124ccfc586b3ba.png)

:dynaspin:🍬😊

BR,

Peter
