# Java thread list

**URL:** <https://discuss.elastic.co/t/java-thread-list/226566>\
**Category:** APM\
**Tags:** java\
**Created:** [April 5, 2020, 11:07am UTC](https://discuss.elastic.co/t/java-thread-list/226566 "2020-04-05T11:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![multazim](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@multazim](https://discuss.elastic.co/u/multazim)\
**Post date:** [April 5, 2020, 11:07am UTC](https://discuss.elastic.co/t/java-thread-list/226566/1 "2020-04-05T11:07:29Z")

</div>

@felixbarny Using APM Java agent can we collect thread list at host level and some basic info (cpu time/user time) for each thread like java melody provides?

 ![javameldoy-threads](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d21bb5c20351978e3d2fd25ccb375f5947686dd5.png)

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [April 15, 2020, 8:54am UTC](https://discuss.elastic.co/t/java-thread-list/226566/2 "2020-04-15T08:54:45Z")

</div>

Not out of the box but you could use the JMX configuration to collect these metrics: [https://www.elastic.co/guide/en/apm/agent/java/current/config-jmx.html](https://www.elastic.co/guide/en/apm/agent/java/current/config-jmx.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 6, 2020, 4:54am UTC](https://discuss.elastic.co/t/java-thread-list/226566/3 "2020-05-06T04:54:47Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
