<?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: How to configure JMX mBeans operations? in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/220861#M3325</link>
    <description>&lt;P&gt;I was able to set this up successfully using Hikari exposed in Dynatrace. My memory is a bit fuzzy but what I did in my Spring boot app was create a Datasource setting&amp;nbsp;&amp;nbsp;dataSource.setRegisterMbeans(true); This could also be done in the yaml file&lt;/P&gt;&lt;P&gt;Also make sure your yaml file has&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;spring:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; jmx&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enabled&lt;/SPAN&gt;: true&lt;/DIV&gt;&lt;P&gt;datasource:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; hikari&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minimum-idle&lt;/SPAN&gt;: 3&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; register-mbeans&lt;/SPAN&gt;: true&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then used the plugin script&lt;/P&gt;&lt;P&gt;Here are the results:&lt;/P&gt;&lt;P&gt;&lt;A href="https://share.cleanshot.com/dyNBK3Gp" target="_blank"&gt;https://share.cleanshot.com/dyNBK3Gp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://share.cleanshot.com/vDmLv6H1" target="_blank"&gt;https://share.cleanshot.com/vDmLv6H1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;DataSource getDataSource(String url, String username, String password) {&lt;BR /&gt;HikariDataSource dataSource = DataSourceBuilder&lt;BR /&gt;.create()&lt;BR /&gt;.type(HikariDataSource.&lt;SPAN&gt;class&lt;/SPAN&gt;)&lt;BR /&gt;.driverClassName(driver)&lt;BR /&gt;.url(url)&lt;BR /&gt;.username(username)&lt;BR /&gt;.password(password)&lt;BR /&gt;.build();&lt;BR /&gt;&lt;BR /&gt;dataSource.setMinimumIdle(minimumIdle);&lt;BR /&gt;dataSource.setMaximumPoolSize(maximumPoolSize);&lt;BR /&gt;dataSource.setRegisterMbeans(true);&lt;BR /&gt;&lt;SPAN&gt;return &lt;/SPAN&gt;dataSource;&lt;BR /&gt;}&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/49882"&gt;@JB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any progress on this topic? I also have a client that would like to collect the Hikari connection pool metrics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 21:52:10 GMT</pubDate>
    <dc:creator>sanjivj</dc:creator>
    <dc:date>2023-08-16T21:52:10Z</dc:date>
    <item>
      <title>How to configure JMX mBeans operations?</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83414#M276</link>
      <description>&lt;P&gt;I could create a JMX plugin using JMX plugin editor and its working fine and I can see the JMX stats. My problem is I have few mMbeans which has operations, not attributes. JMX plugin editor not support for operators. Is there any way to add JMX operators?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 06:05:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83414#M276</guid>
      <dc:creator>godwin_shrimal</dc:creator>
      <dc:date>2023-05-19T06:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83415#M277</link>
      <description>&lt;P&gt;Why do you want to monitor operations?  What exactly you wan to get name of operation? Could you send us your mBeans tree with market data which you want to gather?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Aug 2018 09:15:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83415#M277</guid>
      <dc:creator>Jakub_Mierzewsk</dc:creator>
      <dc:date>2018-08-21T09:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83416#M278</link>
      <description>&lt;P&gt;I am also having the same question. When we are using JConsole, we can manage the application by executing the MBean operations (eg: restart() &amp;lt;- this will restart the application.). Does Dynatrace possess such a capability?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 13:44:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83416#M278</guid>
      <dc:creator>kaidwnflmnfrvem</dc:creator>
      <dc:date>2020-09-23T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83417#M279</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/40542/view.html" nodeid="40542"&gt;@Jakub M.&lt;/A&gt; I think your understanding is wrong. What is specifically highlighted in this question is whether we can execute MBean operation via Dynatrace. (Which is a possible task in JConsole)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 13:48:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83417#M279</guid>
      <dc:creator>kaidwnflmnfrvem</dc:creator>
      <dc:date>2020-09-23T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83418#M280</link>
      <description>&lt;P&gt;We allow accessing JMX metrics for monitoring purposes, and do not allow invocation of JMX operations.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 14:10:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83418#M280</guid>
      <dc:creator>dave_mauney</dc:creator>
      <dc:date>2020-09-23T14:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83419#M281</link>
      <description>&lt;P&gt;Thanks for the information. &lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:50:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/83419#M281</guid>
      <dc:creator>kaidwnflmnfrvem</dc:creator>
      <dc:date>2020-09-24T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174364#M1735</link>
      <description>&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;My problem is we would like to get Hikari Connections pool metrics on Dynatrace but we are not able to see the Hikari Connection pool metrics (Active , Pending, Acquired, Idle, Threads awaiting connections, usage etc). Hikari metrics we are able to see on Springboot admin page but we can't get those on Dynatrace. Will you be able to provide any lead what is going wrong. In sprint boot admin we can see below metrics:&amp;nbsp;&lt;/P&gt;&lt;P&gt;hikaricp.connections&lt;BR /&gt;hikaricp.connections.acquire&lt;BR /&gt;hikaricp.connections.active&lt;BR /&gt;hikaricp.connections.creation&lt;BR /&gt;hikaricp.connections.idle&lt;BR /&gt;hikaricp.connections.max&lt;BR /&gt;hikaricp.connections.min&lt;BR /&gt;hikaricp.connections.pending&lt;BR /&gt;hikaricp.connections.timeout&lt;BR /&gt;hikaricp.connections.usage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Structure of microservice is , Docker --&amp;gt; Having One Agent and Microservice code, Hikari pool jar is in side lib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj Raverkar&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:00:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174364#M1735</guid>
      <dc:creator>pankajraverkar</dc:creator>
      <dc:date>2021-10-19T07:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174367#M1736</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe you can try this one:&amp;nbsp;&lt;A href="https://github.com/chulderman/Dynatrace-HikariCP-Plugin" target="_blank"&gt;https://github.com/chulderman/Dynatrace-HikariCP-Plugin&lt;/A&gt;. If it doesn't work directly have a look at the json to see what it picks up.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:26:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174367#M1736</guid>
      <dc:creator>Mike_L</dc:creator>
      <dc:date>2021-10-19T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174369#M1737</link>
      <description>&lt;P&gt;Thanks a lot Mike, We tried this extension also but no luck.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:29:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/174369#M1737</guid>
      <dc:creator>pankajraverkar</dc:creator>
      <dc:date>2021-10-19T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/176174#M1809</link>
      <description>&lt;P&gt;Same here, tried this plugin but it did not work. Hikari metrics are not picked up. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 17:57:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/176174#M1809</guid>
      <dc:creator>sjivan</dc:creator>
      <dc:date>2021-11-20T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/190147#M2296</link>
      <description>&lt;P data-unlink="true"&gt;is there a solution for hikari to see the pool-metrics. We also trying to instrument this, but no luck at the moment. We tried&amp;nbsp;&lt;A href="https://micrometer.io/docs/registry/dynatrace" target="_self"&gt;https://micrometer.io/docs/registry/dynatrace&lt;/A&gt; but it did not work. It would be great if dynatrace supports hikari pool stuff out of the box&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:52:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/190147#M2296</guid>
      <dc:creator>urs_fischer</dc:creator>
      <dc:date>2022-07-07T14:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mbeans operations</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/193493#M2365</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any change&amp;nbsp; regarding this topic? My client would like collect the Hikaripool metrics also from Springboot under Openshift.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br, Mizső&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:06:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/193493#M2365</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-08-30T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mBeans operations?</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/220858#M3324</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any progress on this topic? I also have a client that would like to collect the Hikari connection pool metrics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 21:23:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/220858#M3324</guid>
      <dc:creator>JB</dc:creator>
      <dc:date>2023-08-16T21:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mBeans operations?</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/220861#M3325</link>
      <description>&lt;P&gt;I was able to set this up successfully using Hikari exposed in Dynatrace. My memory is a bit fuzzy but what I did in my Spring boot app was create a Datasource setting&amp;nbsp;&amp;nbsp;dataSource.setRegisterMbeans(true); This could also be done in the yaml file&lt;/P&gt;&lt;P&gt;Also make sure your yaml file has&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;spring:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; jmx&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enabled&lt;/SPAN&gt;: true&lt;/DIV&gt;&lt;P&gt;datasource:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; hikari&lt;/SPAN&gt;:&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; minimum-idle&lt;/SPAN&gt;: 3&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; register-mbeans&lt;/SPAN&gt;: true&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then used the plugin script&lt;/P&gt;&lt;P&gt;Here are the results:&lt;/P&gt;&lt;P&gt;&lt;A href="https://share.cleanshot.com/dyNBK3Gp" target="_blank"&gt;https://share.cleanshot.com/dyNBK3Gp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://share.cleanshot.com/vDmLv6H1" target="_blank"&gt;https://share.cleanshot.com/vDmLv6H1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;DataSource getDataSource(String url, String username, String password) {&lt;BR /&gt;HikariDataSource dataSource = DataSourceBuilder&lt;BR /&gt;.create()&lt;BR /&gt;.type(HikariDataSource.&lt;SPAN&gt;class&lt;/SPAN&gt;)&lt;BR /&gt;.driverClassName(driver)&lt;BR /&gt;.url(url)&lt;BR /&gt;.username(username)&lt;BR /&gt;.password(password)&lt;BR /&gt;.build();&lt;BR /&gt;&lt;BR /&gt;dataSource.setMinimumIdle(minimumIdle);&lt;BR /&gt;dataSource.setMaximumPoolSize(maximumPoolSize);&lt;BR /&gt;dataSource.setRegisterMbeans(true);&lt;BR /&gt;&lt;SPAN&gt;return &lt;/SPAN&gt;dataSource;&lt;BR /&gt;}&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/49882"&gt;@JB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any progress on this topic? I also have a client that would like to collect the Hikari connection pool metrics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 21:52:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/220861#M3325</guid>
      <dc:creator>sanjivj</dc:creator>
      <dc:date>2023-08-16T21:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mBeans operations?</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/236957#M4059</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/63582"&gt;@sanjivj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello and thanks for your help. But i need more information.&amp;nbsp;&lt;BR /&gt;Can you help me understand where you made that configuration?&lt;BR /&gt;questions&lt;BR /&gt;Is it only necessary to have that configuration in a yaml file?&lt;BR /&gt;Is it configured at the configmap level?&lt;/P&gt;&lt;P&gt;Could you give us the configuration step by step please.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 12:46:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/236957#M4059</guid>
      <dc:creator>CarlosCarrascoR</dc:creator>
      <dc:date>2024-02-13T12:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure JMX mBeans operations?</title>
      <link>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/277920#M6472</link>
      <description>&lt;P&gt;Is this possible with a custom EF2.0 extension?&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 11:04:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/How-to-configure-JMX-mBeans-operations/m-p/277920#M6472</guid>
      <dc:creator>shohebakthar</dc:creator>
      <dc:date>2025-05-23T11:04:21Z</dc:date>
    </item>
  </channel>
</rss>

