Client : how to have metrics?

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.

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.