From 64df10b61b26111a15e8c3cf168d8f11a8da7c1d Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Thu, 2 Oct 2014 09:21:58 +1000 Subject: [PATCH] HBASE-11981 Document how to find the units of measure for a given HBase metric --- src/main/docbkx/ops_mgt.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml index ea7883bc1d8..cd6562f71f0 100644 --- a/src/main/docbkx/ops_mgt.xml +++ b/src/main/docbkx/ops_mgt.xml @@ -1094,6 +1094,34 @@ $ for i in `cat conf/regionservers|sort`; do ./bin/graceful_stop.sh --restart -- +
+ Units of Measure for Metrics + Different metrics are expressed in different units, as appropriate. Often, the unit of + measure is in the name (as in the metric shippedKBs). Otherwise, use the + following guidelines. When in doubt, you may need to examine the source for a given + metric. + + + Metrics that refer to a point in time are usually expressed as a timestamp. + + + Metrics that refer to an age (such as ageOfLastShippedOp) are usually + expressed in milliseconds. + + + Metrics that refer to memory sizes are in bytes. + + + Sizes of queues (such as sizeOfLogQueue) are expressed as the number of + items in the queue. Determine the size by multiplying by the block size (default is 64 + MB in HDFS). + + + Metrics that refer to things like the number of a given type of operations (such as + logEditsRead) are expressed as an integer. + + +
Most Important RegionServer Metrics Previously, this section contained a list of the most important RegionServer metrics.