[JAVA-105] JMX metrics for the Java driver Created: 15/Apr/10 Updated: 15/Nov/21 Resolved: 01/Jun/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It would be nice to be able to plugin JMX monitoring into the Java driver. Mainly pool size (min, max, avg, etc.), detected error counts (for a period of time) and average query/request times. This would probably require some sort of registration with the mbean server in the Mongo object. Take a look at this for more info: http://java.sun.com/docs/books/tutorial/jmx/mbeans/standard.html |
| Comments |
| Comment by Xavier Vdb [ 27/Mar/13 ] |
|
TIPS : for those who use nagios for mongodb monitoring Mongodb connections (max 50) ./check_jmx -U service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O "com.mongodb:type=ConnectionPool,host=localhost/127.0.0.1,port=27030,instance=1" -A Statistics -K inUse -w 30 -c 40 check_jmx by syabru |
| Comment by auto [ 01/Jun/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: jmx enable pool |