<?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: Java agent JDBC Connection Pool not showing in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-agent-JDBC-Connection-Pool-not-showing/m-p/726023#M5027</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/154851"&gt;@Shubham.Wagdarkar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I found this existing info. I'm not sure what Controller version you are on, so you may need to adjust the documentation to fit the right version #.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please search the MBean Browser and see if you can find the metric:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/21.12/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans#ConfigureJMXMetricsfromMBeans-AccesstheMBeanBrowser" rel="noreferrer nofollow noopener" target="_blank"&gt;https://docs.appdynamics.com/21.12/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans#ConfigureJMXMetricsfromMBeans-AccesstheMBeanBrowser&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is not visible in MBean Browser, then it means that the metric has not been exposed on the Spring Boot side. Can you see the metric in JConsole?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html" rel="noreferrer nofollow noopener" target="_blank"&gt;https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you need another way besides Mbeam to get JDBC Connection pool metrics, you can try this.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For some frameworks, for example if you are using Tomcat, then the connection pools should be found by the default detection rules under DataSource if you are using org.apache.tomcat.jdbc.pool.DataSource and set the flag jmxEnabled=true:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html" rel="noreferrer nofollow noopener" target="_blank"&gt;https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are not already seeing the metric then it is not at one of the locations where we would auto-detect it, and it would be necessary to find the metric in MBean Browser.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 22:58:21 GMT</pubDate>
    <dc:creator>iamryan</dc:creator>
    <dc:date>2023-08-09T22:58:21Z</dc:date>
    <item>
      <title>Java agent JDBC Connection Pool not showing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-agent-JDBC-Connection-Pool-not-showing/m-p/726022#M5026</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am facing issue, in my Java agent application i couldn't find JDBC connection pool details there is only thread details available, anyone have any idea about this and how to resolve this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 03:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-agent-JDBC-Connection-Pool-not-showing/m-p/726022#M5026</guid>
      <dc:creator>Shubham_Wagdark</dc:creator>
      <dc:date>2023-08-09T03:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Java agent JDBC Connection Pool not showing</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Java-agent-JDBC-Connection-Pool-not-showing/m-p/726023#M5027</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/154851"&gt;@Shubham.Wagdarkar&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I found this existing info. I'm not sure what Controller version you are on, so you may need to adjust the documentation to fit the right version #.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please search the MBean Browser and see if you can find the metric:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.appdynamics.com/21.12/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans#ConfigureJMXMetricsfromMBeans-AccesstheMBeanBrowser" rel="noreferrer nofollow noopener" target="_blank"&gt;https://docs.appdynamics.com/21.12/en/application-monitoring/configure-instrumentation/configure-jmx-metrics-from-mbeans#ConfigureJMXMetricsfromMBeans-AccesstheMBeanBrowser&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it is not visible in MBean Browser, then it means that the metric has not been exposed on the Spring Boot side. Can you see the metric in JConsole?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html" rel="noreferrer nofollow noopener" target="_blank"&gt;https://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you need another way besides Mbeam to get JDBC Connection pool metrics, you can try this.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For some frameworks, for example if you are using Tomcat, then the connection pools should be found by the default detection rules under DataSource if you are using org.apache.tomcat.jdbc.pool.DataSource and set the flag jmxEnabled=true:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html" rel="noreferrer nofollow noopener" target="_blank"&gt;https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you are not already seeing the metric then it is not at one of the locations where we would auto-detect it, and it would be necessary to find the metric in MBean Browser.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 22:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Java-agent-JDBC-Connection-Pool-not-showing/m-p/726023#M5027</guid>
      <dc:creator>iamryan</dc:creator>
      <dc:date>2023-08-09T22:58:21Z</dc:date>
    </item>
  </channel>
</rss>

