Can set MetricType to MetricType.OFF, MetricType.PERFORMANCE, MetricType.DEBUG
Can set metricCollector. Just has to extend AbstractMetricCollector()
The new conf would look like so
http {
maxTotalConnections=100
maxConnectionsPerHost=10
}
driver {
native {
enableMetrics=PERFORMANCE # can be OFF, PERFORMANCE, or DEBUG
setMetricCollector="net.spy.memcached.metrics.DefaultMetricCollector" # must extend AbstractMetricCollector
}
Changes should be pretty straightfoward. Had to change some test cases because of compile issues, should be logically the same though.
Changes to the Build.scala are to pull in com.codahale.metrics. They are an optional dependency of couchbase-client but they are needed if user provides any of the metric data above.
Added 4 things:
The new conf would look like so
Changes should be pretty straightfoward. Had to change some test cases because of compile issues, should be logically the same though.
Changes to the Build.scala are to pull in com.codahale.metrics. They are an optional dependency of couchbase-client but they are needed if user provides any of the metric data above.