Search:

Search all manuals
Search this manual
Manual
Moxi Server 1.8
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Moxi Server 1.8
Child Sections
Chapters

Chapter 6. Moxi Statistics

Table of Contents

6.1. Proxy-related stats
6.1.1. Basic Information
6.1.2. Memcached Inherited Settings And Statistics
6.1.3. Moxi-Specific Global Settings
6.1.4. Per-Bucket Statistics
6.1.5. Per-Bucket Server-List Settings
6.1.6. Per-Bucket Statistics (Counters)
6.1.7. NULL_BUCKET Statistics
6.2. Timing Histograms
6.3. Proxy Configuration
6.4. Resetting Moxi Proxy Stats

Cluster-wide stats vs Single-server stats

moxi provides a "cluster-wide" view of stats. That is, moxi broadcasts the "stats" command to every server in the cluster and aggregates (sums) the returned values that make sense, before returning aggregated values back to you. Underneath the hood, it uses a hashmap to do the aggregation, so that stats values that moxi emits are returned in un-sorted (confusing) order. Because of this, folks usually do something like the following to make values easier to read (port 11211 is where moxi is listening by default when used as part of the Couchbase installation).

echo "stats" | nc HOST 11211 | sort

If you just want to get a single server's stats, directly from memcached/ep-engine, please use:

/opt/membase/VERSION/bin/ep-engine/management/stats.py HOST:11210 all

Port 11210 is where memcached/ep-engine is running by default in Couchbase.