Repository: hbase Updated Branches: refs/heads/master a3b65c45a -> 64df10b61
HBASE-11981 Document how to find the units of measure for a given HBase metric Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/64df10b6 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/64df10b6 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/64df10b6 Branch: refs/heads/master Commit: 64df10b61b26111a15e8c3cf168d8f11a8da7c1d Parents: a3b65c4 Author: Misty Stanley-Jones <[email protected]> Authored: Thu Oct 2 09:21:58 2014 +1000 Committer: Misty Stanley-Jones <[email protected]> Committed: Tue Oct 7 16:52:10 2014 +1000 ---------------------------------------------------------------------- src/main/docbkx/ops_mgt.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/64df10b6/src/main/docbkx/ops_mgt.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml index ea7883b..cd6562f 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 -- </step> </procedure> </section> + <section> + <title>Units of Measure for Metrics</title> + <para>Different metrics are expressed in different units, as appropriate. Often, the unit of + measure is in the name (as in the metric <code>shippedKBs</code>). Otherwise, use the + following guidelines. When in doubt, you may need to examine the source for a given + metric.</para> + <itemizedlist> + <listitem> + <para>Metrics that refer to a point in time are usually expressed as a timestamp.</para> + </listitem> + <listitem> + <para>Metrics that refer to an age (such as <code>ageOfLastShippedOp</code>) are usually + expressed in milliseconds.</para> + </listitem> + <listitem> + <para>Metrics that refer to memory sizes are in bytes.</para> + </listitem> + <listitem> + <para>Sizes of queues (such as <code>sizeOfLogQueue</code>) 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).</para> + </listitem> + <listitem> + <para>Metrics that refer to things like the number of a given type of operations (such as + <code>logEditsRead</code>) are expressed as an integer.</para> + </listitem> + </itemizedlist> + </section> <section xml:id="rs_metrics"> <title>Most Important RegionServer Metrics</title> <para>Previously, this section contained a list of the most important RegionServer metrics.
