Client : how to have metrics?


#1

Hi,

In the version 1.4.x, we can have some metrics by settings a system property like this :

System.setProperty("net.spy.metrics.reporter.type", "jmx");

But i can’t find how to do something like this in version 2.1.x

Is the a way to use a metric reporter or to publish some mbeans ?

Thanks.


#2

Hi @cnguyen, we have something more powerful since 2.2.x: http://developer.couchbase.com/documentation/server/4.0/sdks/java-2.2/event-bus-metrics.html

It’s not available in 2.1.x though.