<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:48 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-1099] Deprecated JMX classes - what to use instead?</title>
                <link>https://jira.mongodb.org/browse/JAVA-1099</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Hi there,&lt;/p&gt;

&lt;p&gt;I saw that the JMX / MBean classes in the Java driver in the 2.x driver in preparation for 3.0.  Is there an alternative set of classes to use, especially to get the connection pool stats?&lt;/p&gt;</description>
                <environment></environment>
        <key id="108461">JAVA-1099</key>
            <summary>Deprecated JMX classes - what to use instead?</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="srmelody@gmail.com">Sean Melody</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jan 2014 21:08:44 +0000</created>
                <updated>Wed, 11 Sep 2019 19:11:48 +0000</updated>
                            <resolved>Thu, 27 Mar 2014 22:07:46 +0000</resolved>
                                                                    <component>Monitoring</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="525253" author="jeff.yemin" created="Thu, 27 Mar 2014 22:07:47 +0000"  >&lt;p&gt;I&apos;m closing this, but please re-open if your questions were not sufficiently addressed.&lt;/p&gt;</comment>
                            <comment id="491446" author="jeff.yemin" created="Fri, 31 Jan 2014 14:19:46 +0000"  >&lt;p&gt;OK, so do you need any more information?  The object name is coming in 2.12, and will be the same in 3.0.&lt;/p&gt;</comment>
                            <comment id="491425" author="srmelody@gmail.com" created="Fri, 31 Jan 2014 13:28:14 +0000"  >&lt;p&gt;We&apos;re just getting started with adding the Mongo connection pool stats to our existing exposed MBeans.  We&apos;re looking for guidance for which classes so that we&apos;re not going to face a big change when we upgrade to 3.0.&lt;/p&gt;</comment>
                            <comment id="491106" author="jeff.yemin" created="Thu, 30 Jan 2014 21:22:00 +0000"  >&lt;p&gt;We are changing the Object Name though:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;org.mongodb.driver:type=ConnectionPool,clusterId=%s,host=%s,port=%s&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="491104" author="jeff.yemin" created="Thu, 30 Jan 2014 21:20:48 +0000"  >&lt;p&gt;How are you getting the stats currently? MBeans are still being created.  See: &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/master/src/main/com/mongodb/JMXConnectionPoolListener.java#L30-30&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/blob/master/src/main/com/mongodb/JMXConnectionPoolListener.java#L30-30&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrtvfz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>88226</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>