[JAVA-933] Port connection pool JMX monitoring into 3.0.x branch Created: 22/Aug/13  Updated: 31/Mar/15  Resolved: 22/Aug/13

Status: Closed
Project: Java Driver
Component/s: Monitoring
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Task Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
  • The domain is now "org.mongodb.driver", whereas it used to be "com.mongodb".
  • The full ObjectName is:
    • org.mongodb.driver:type=ConnectionPool,host=<host>,port=<port>,instance=<unique instance number for the host and port>
  • The Name attribute has been dropped
  • The remaining attributes are:
    • Host
    • Port
    • MinSize
    • MaxSize
    • Total
    • InUse

In the 3.0 architecture, there is no way to support the ConnectionPoolStatisticsBean from the 2.x MXBean version, so it's been dropped. May add something equivalent, but in a different MBean, at a later date.



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by auto [ 22/Aug/13 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-933: Registering MBean for each instance of DefaultConnectionProvider.
Domain of the ObjectName is now "org.mongodb.driver", whereas it used to be "com.mongodb".
Also, there is no way to support the ConnectionPoolStatisticsBean from the 2.x MXBean version,
so it's been dropped. May add something equivalent, but in a different MBean, at a later date.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/cf714608da074ffa939372a18d2e57792fe4f6ad

Generated at Thu Feb 08 08:53:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.