<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: JVM Status and Memory leak in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/JVM-Status-and-Memory-leak/m-p/280215#M36878</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57336"&gt;@Vikas_g1997&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_0-1750920694613.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28682i6CEB98A58AA6927B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_0-1750920694613.png" alt="lubrman_0-1750920694613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, displaying this in Dynatrace is of course possible — the basic view is available under the JVM tab on the detected process. Dynatrace itself natively alerts on certain GC warnings, such as long-term GC and similar events. However, the threshold is auto-adaptive, so if you want something more static, I recommend setting up a metric event based on the metrics provided by OneAgent during measurement. You can find these metrics under “JVM” in the Metrics section.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_2-1750920885614.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28684iE9D6FEF8F8EB04DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_2-1750920885614.png" alt="lubrman_2-1750920885614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can take inspiration from our metric, which measures memory usage, for example — it monitors memory utilization.&lt;BR /&gt;((builtin:tech.jvm.memory.pool.used:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),tag(~"[Environment]DT_RELEASE_PRODUCT:Your tag~"),tag(~"[Environment]DT_RELEASE_STAGE:Your tag~")"))))):splitBy():sort(value(auto,descending))/(builtin:tech.jvm.memory.pool.max:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),tag(~"[Environment]DT_RELEASE_PRODUCT:Your tag~"),tag(~"[Environment]DT_RELEASE_STAGE:Your tag~")"))))):splitBy():max:sort(value(max,descending)))))*100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alternatively, you can display the data on a similar dashboard.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_3-1750921271847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28685iF3CEDF1731E66A98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_3-1750921271847.png" alt="lubrman_3-1750921271847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are some example metrics for reference&lt;BR /&gt;&lt;SPAN&gt;builtin:tech.generic.mem.workingSetSize&lt;/SPAN&gt;&lt;BR /&gt;builtin:tech.jvm.memory.pool.committed&amp;nbsp; poolname: metaspace&lt;BR /&gt;builtin:tech.jvm.memory.pool.committed&amp;nbsp;&amp;nbsp;poolname: CodeHeap 'profiled nmethods&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 07:05:02 GMT</pubDate>
    <dc:creator>lubrman</dc:creator>
    <dc:date>2025-06-26T07:05:02Z</dc:date>
    <item>
      <title>JVM Status and Memory leak</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/JVM-Status-and-Memory-leak/m-p/280194#M36876</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;For a more detailed analysis of JVMs, could anyone suggest how we can set up alerts for JVM status and detect potential memory leaks? Currently, we do not have any built-in metrics for this.&lt;/P&gt;&lt;P&gt;Is it possible to visualize this data on a dashboard or create alerts using JMX plugins?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vikas_g1997_0-1750880202659.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28679iA2EEDED7BEF30196/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vikas_g1997_0-1750880202659.png" alt="Vikas_g1997_0-1750880202659.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 19:37:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/JVM-Status-and-Memory-leak/m-p/280194#M36876</guid>
      <dc:creator>Vikas_g1997</dc:creator>
      <dc:date>2025-06-25T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: JVM Status and Memory leak</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/JVM-Status-and-Memory-leak/m-p/280215#M36878</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57336"&gt;@Vikas_g1997&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_0-1750920694613.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28682i6CEB98A58AA6927B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_0-1750920694613.png" alt="lubrman_0-1750920694613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, displaying this in Dynatrace is of course possible — the basic view is available under the JVM tab on the detected process. Dynatrace itself natively alerts on certain GC warnings, such as long-term GC and similar events. However, the threshold is auto-adaptive, so if you want something more static, I recommend setting up a metric event based on the metrics provided by OneAgent during measurement. You can find these metrics under “JVM” in the Metrics section.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_2-1750920885614.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28684iE9D6FEF8F8EB04DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_2-1750920885614.png" alt="lubrman_2-1750920885614.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can take inspiration from our metric, which measures memory usage, for example — it monitors memory utilization.&lt;BR /&gt;((builtin:tech.jvm.memory.pool.used:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),tag(~"[Environment]DT_RELEASE_PRODUCT:Your tag~"),tag(~"[Environment]DT_RELEASE_STAGE:Your tag~")"))))):splitBy():sort(value(auto,descending))/(builtin:tech.jvm.memory.pool.max:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),tag(~"[Environment]DT_RELEASE_PRODUCT:Your tag~"),tag(~"[Environment]DT_RELEASE_STAGE:Your tag~")"))))):splitBy():max:sort(value(max,descending)))))*100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Alternatively, you can display the data on a similar dashboard.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lubrman_3-1750921271847.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28685iF3CEDF1731E66A98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lubrman_3-1750921271847.png" alt="lubrman_3-1750921271847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are some example metrics for reference&lt;BR /&gt;&lt;SPAN&gt;builtin:tech.generic.mem.workingSetSize&lt;/SPAN&gt;&lt;BR /&gt;builtin:tech.jvm.memory.pool.committed&amp;nbsp; poolname: metaspace&lt;BR /&gt;builtin:tech.jvm.memory.pool.committed&amp;nbsp;&amp;nbsp;poolname: CodeHeap 'profiled nmethods&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 07:05:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/JVM-Status-and-Memory-leak/m-p/280215#M36878</guid>
      <dc:creator>lubrman</dc:creator>
      <dc:date>2025-06-26T07:05:02Z</dc:date>
    </item>
  </channel>
</rss>

