Getting stats from Couchbase server
Thu, 08/30/2012 - 12:19
Hi,
We have a requirement wherein we need to fetch some stats from the couchbase server using .NET client library. I think we might have to use the MemcachedClient.Stats() method in the Enyim.Caching.dll, but am not sure how to fetch the values for the below from it:
• Disk space
• Count of items in cache
• Misses on cache
• Hits on cache
• Number of deletes
• Number of additions to the cache
Could you please let us know how would above class method provide these details?
Regards,
Sree Kumar.
Experian Tech Lead
Nottingham.
Some of those are available through the stats call on the .NET client library, but you'd have to do your own aggregation. A better interface may be to use the Couchbase RESTful interface to query stats there.
See: http://www.couchbase.com/docs/couchbase-manual-1.8/rest-api-bucket-stats...