View Javadoc

1   /**
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *     http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  package org.apache.hadoop.hbase.regionserver;
20  
21  import org.apache.hadoop.hbase.metrics.BaseSource;
22  import org.apache.hadoop.hbase.metrics.JvmPauseMonitorSource;
23  
24  /**
25   * Interface for classes that expose metrics about the regionserver.
26   */
27  public interface MetricsRegionServerSource extends BaseSource, JvmPauseMonitorSource {
28  
29    /**
30     * The name of the metrics
31     */
32    String METRICS_NAME = "Server";
33  
34    /**
35     * The name of the metrics context that metrics will be under.
36     */
37    String METRICS_CONTEXT = "regionserver";
38  
39    /**
40     * Description
41     */
42    String METRICS_DESCRIPTION = "Metrics about HBase RegionServer";
43  
44    /**
45     * The name of the metrics context that metrics will be under in jmx
46     */
47    String METRICS_JMX_CONTEXT = "RegionServer,sub=" + METRICS_NAME;
48  
49    /**
50     * Update the Put time histogram
51     *
52     * @param t time it took
53     */
54    void updatePut(long t);
55  
56    /**
57     * Update the PutBatch time histogram if a batch contains a Put op
58     * @param t
59     */
60    void updatePutBatch(long t);
61  
62    /**
63     * Update the Delete time histogram
64     *
65     * @param t time it took
66     */
67    void updateDelete(long t);
68  
69    /**
70     * Update the Delete time histogram if a batch contains a delete op
71     * @param t time it took
72     */
73    void updateDeleteBatch(long t);
74  
75    /**
76     * Update checkAndDelete histogram
77     * @param t time it took
78     */
79    void updateCheckAndDelete(long t);
80  
81    /**
82     * Update checkAndPut histogram
83     * @param t time it took
84     */
85    void updateCheckAndPut(long t);
86  
87    /**
88     * Update the Get time histogram .
89     *
90     * @param t time it took
91     */
92    void updateGet(long t);
93  
94    /**
95     * Update the Increment time histogram.
96     *
97     * @param t time it took
98     */
99    void updateIncrement(long t);
100 
101   /**
102    * Update the Append time histogram.
103    *
104    * @param t time it took
105    */
106   void updateAppend(long t);
107 
108   /**
109    * Update the Replay time histogram.
110    *
111    * @param t time it took
112    */
113   void updateReplay(long t);
114 
115   /**
116    * Update the scan size.
117    *
118    * @param scanSize size of the scan
119    */
120   void updateScanSize(long scanSize);
121 
122   /**
123    * Update the scan time.
124    * */
125   void updateScanTime(long t);
126 
127   /**
128    * Increment the number of slow Puts that have happened.
129    */
130   void incrSlowPut();
131 
132   /**
133    * Increment the number of slow Deletes that have happened.
134    */
135   void incrSlowDelete();
136 
137   /**
138    * Increment the number of slow Gets that have happened.
139    */
140   void incrSlowGet();
141 
142   /**
143    * Increment the number of slow Increments that have happened.
144    */
145   void incrSlowIncrement();
146 
147   /**
148    * Increment the number of slow Appends that have happened.
149    */
150   void incrSlowAppend();
151 
152   /**
153    * Update the split transaction time histogram
154    * @param t time it took, in milliseconds
155    */
156   void updateSplitTime(long t);
157 
158   /**
159    * Increment number of a requested splits
160    */
161   void incrSplitRequest();
162 
163   /**
164    * Increment number of successful splits
165    */
166   void incrSplitSuccess();
167 
168   /**
169    * Update the flush time histogram
170    * @param t time it took, in milliseconds
171    */
172   void updateFlushTime(long t);
173 
174   /**
175    * Update the flush memstore size histogram
176    * @param bytes the number of bytes in the memstore
177    */
178   void updateFlushMemstoreSize(long bytes);
179 
180   /**
181    * Update the flush output file size histogram
182    * @param bytes the number of bytes in the output file
183    */
184   void updateFlushOutputSize(long bytes);
185 
186   /**
187    * Update the compaction time histogram, both major and minor
188    * @param isMajor whether compaction is a major compaction
189    * @param t time it took, in milliseconds
190    */
191   void updateCompactionTime(boolean isMajor, long t);
192 
193   /**
194    * Update the compaction input number of files histogram
195    * @param isMajor whether compaction is a major compaction
196    * @param c number of files
197    */
198   void updateCompactionInputFileCount(boolean isMajor, long c);
199 
200   /**
201    * Update the compaction total input file size histogram
202    * @param isMajor whether compaction is a major compaction
203    * @param bytes the number of bytes of the compaction input file
204    */
205   void updateCompactionInputSize(boolean isMajor, long bytes);
206 
207   /**
208    * Update the compaction output number of files histogram
209    * @param isMajor whether compaction is a major compaction
210    * @param c number of files
211    */
212   void updateCompactionOutputFileCount(boolean isMajor, long c);
213 
214   /**
215    * Update the compaction total output file size
216    * @param isMajor whether compaction is a major compaction
217    * @param bytes the number of bytes of the compaction input file
218    */
219   void updateCompactionOutputSize(boolean isMajor, long bytes);
220 
221   // Strings used for exporting to metrics system.
222   String REGION_COUNT = "regionCount";
223   String REGION_COUNT_DESC = "Number of regions";
224   String STORE_COUNT = "storeCount";
225   String STORE_COUNT_DESC = "Number of Stores";
226   String WALFILE_COUNT = "hlogFileCount";
227   String WALFILE_COUNT_DESC = "Number of WAL Files";
228   String WALFILE_SIZE = "hlogFileSize";
229   String WALFILE_SIZE_DESC = "Size of all WAL Files";
230   String STOREFILE_COUNT = "storeFileCount";
231   String STOREFILE_COUNT_DESC = "Number of Store Files";
232   String MEMSTORE_SIZE = "memStoreSize";
233   String MEMSTORE_SIZE_DESC = "Size of the memstore";
234   String STOREFILE_SIZE = "storeFileSize";
235   String MAX_STORE_FILE_AGE = "maxStoreFileAge";
236   String MIN_STORE_FILE_AGE = "minStoreFileAge";
237   String AVG_STORE_FILE_AGE = "avgStoreFileAge";
238   String NUM_REFERENCE_FILES = "numReferenceFiles";
239   String MAX_STORE_FILE_AGE_DESC = "Max age of store files hosted on this region server";
240   String MIN_STORE_FILE_AGE_DESC = "Min age of store files hosted on this region server";
241   String AVG_STORE_FILE_AGE_DESC = "Average age of store files hosted on this region server";
242   String NUM_REFERENCE_FILES_DESC = "Number of reference file on this region server";
243   String STOREFILE_SIZE_DESC = "Size of storefiles being served.";
244   String TOTAL_REQUEST_COUNT = "totalRequestCount";
245   String TOTAL_REQUEST_COUNT_DESC =
246       "Total number of requests this RegionServer has answered.";
247   String TOTAL_ROW_ACTION_REQUEST_COUNT = "totalRowActionRequestCount";
248   String TOTAL_ROW_ACTION_REQUEST_COUNT_DESC =
249       "Total number of region requests this RegionServer has answered, count by row-level action";
250   String READ_REQUEST_COUNT = "readRequestCount";
251   String READ_REQUEST_COUNT_DESC =
252       "Number of read requests this region server has answered.";
253   String WRITE_REQUEST_COUNT = "writeRequestCount";
254   String WRITE_REQUEST_COUNT_DESC =
255       "Number of mutation requests this region server has answered.";
256   String CHECK_MUTATE_FAILED_COUNT = "checkMutateFailedCount";
257   String CHECK_MUTATE_FAILED_COUNT_DESC =
258       "Number of Check and Mutate calls that failed the checks.";
259   String CHECK_MUTATE_PASSED_COUNT = "checkMutatePassedCount";
260   String CHECK_MUTATE_PASSED_COUNT_DESC =
261       "Number of Check and Mutate calls that passed the checks.";
262   String STOREFILE_INDEX_SIZE = "storeFileIndexSize";
263   String STOREFILE_INDEX_SIZE_DESC = "Size of indexes in storefiles on disk.";
264   String STATIC_INDEX_SIZE = "staticIndexSize";
265   String STATIC_INDEX_SIZE_DESC = "Uncompressed size of the static indexes.";
266   String STATIC_BLOOM_SIZE = "staticBloomSize";
267   String STATIC_BLOOM_SIZE_DESC =
268       "Uncompressed size of the static bloom filters.";
269   String NUMBER_OF_MUTATIONS_WITHOUT_WAL = "mutationsWithoutWALCount";
270   String NUMBER_OF_MUTATIONS_WITHOUT_WAL_DESC =
271       "Number of mutations that have been sent by clients with the write ahead logging turned off.";
272   String DATA_SIZE_WITHOUT_WAL = "mutationsWithoutWALSize";
273   String DATA_SIZE_WITHOUT_WAL_DESC =
274       "Size of data that has been sent by clients with the write ahead logging turned off.";
275   String PERCENT_FILES_LOCAL = "percentFilesLocal";
276   String PERCENT_FILES_LOCAL_DESC =
277       "The percent of HFiles that are stored on the local hdfs data node.";
278   String PERCENT_FILES_LOCAL_SECONDARY_REGIONS = "percentFilesLocalSecondaryRegions";
279   String PERCENT_FILES_LOCAL_SECONDARY_REGIONS_DESC =
280     "The percent of HFiles used by secondary regions that are stored on the local hdfs data node.";
281   String SPLIT_QUEUE_LENGTH = "splitQueueLength";
282   String SPLIT_QUEUE_LENGTH_DESC = "Length of the queue for splits.";
283   String COMPACTION_QUEUE_LENGTH = "compactionQueueLength";
284   String LARGE_COMPACTION_QUEUE_LENGTH = "largeCompactionQueueLength";
285   String SMALL_COMPACTION_QUEUE_LENGTH = "smallCompactionQueueLength";
286   String COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions.";
287   String LARGE_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size "
288       + "larger than throttle threshold (2.5GB by default)";
289   String SMALL_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size "
290       + "smaller than throttle threshold (2.5GB by default)";
291   String FLUSH_QUEUE_LENGTH = "flushQueueLength";
292   String FLUSH_QUEUE_LENGTH_DESC = "Length of the queue for region flushes";
293   String BLOCK_CACHE_FREE_SIZE = "blockCacheFreeSize";
294   String BLOCK_CACHE_FREE_DESC =
295       "Size of the block cache that is not occupied.";
296   String BLOCK_CACHE_COUNT = "blockCacheCount";
297   String BLOCK_CACHE_COUNT_DESC = "Number of block in the block cache.";
298   String BLOCK_CACHE_SIZE = "blockCacheSize";
299   String BLOCK_CACHE_SIZE_DESC = "Size of the block cache.";
300   String BLOCK_CACHE_HIT_COUNT = "blockCacheHitCount";
301   String BLOCK_CACHE_HIT_COUNT_DESC = "Count of the hit on the block cache.";
302   String BLOCK_CACHE_PRIMARY_HIT_COUNT = "blockCacheHitCountPrimary";
303   String BLOCK_CACHE_PRIMARY_HIT_COUNT_DESC = "Count of hit on primary replica in the block cache.";
304   String BLOCK_CACHE_MISS_COUNT = "blockCacheMissCount";
305   String BLOCK_COUNT_MISS_COUNT_DESC =
306       "Number of requests for a block that missed the block cache.";
307   String BLOCK_CACHE_PRIMARY_MISS_COUNT = "blockCacheMissCountPrimary";
308   String BLOCK_COUNT_PRIMARY_MISS_COUNT_DESC =
309       "Number of requests for a block of primary replica that missed the block cache.";
310   String BLOCK_CACHE_EVICTION_COUNT = "blockCacheEvictionCount";
311   String BLOCK_CACHE_EVICTION_COUNT_DESC =
312       "Count of the number of blocks evicted from the block cache.";
313   String BLOCK_CACHE_PRIMARY_EVICTION_COUNT = "blockCacheEvictionCountPrimary";
314   String BLOCK_CACHE_PRIMARY_EVICTION_COUNT_DESC =
315       "Count of the number of blocks evicted from primary replica in the block cache.";
316   String BLOCK_CACHE_HIT_PERCENT = "blockCacheCountHitPercent";
317   String BLOCK_CACHE_HIT_PERCENT_DESC =
318       "Percent of block cache requests that are hits";
319   String BLOCK_CACHE_EXPRESS_HIT_PERCENT = "blockCacheExpressHitPercent";
320   String BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC =
321       "The percent of the time that requests with the cache turned on hit the cache.";
322   String BLOCK_CACHE_FAILED_INSERTION_COUNT = "blockCacheFailedInsertionCount";
323   String BLOCK_CACHE_FAILED_INSERTION_COUNT_DESC = "Number of times that a block cache " +
324       "insertion failed. Usually due to size restrictions.";
325   String BLOCK_CACHE_DATA_MISS_COUNT = "blockCacheDataMissCount";
326   String BLOCK_CACHE_ENCODED_DATA_MISS_COUNT = "blockCacheEncodedDataMissCount";
327   String BLOCK_CACHE_LEAF_INDEX_MISS_COUNT = "blockCacheLeafIndexMissCount";
328   String BLOCK_CACHE_BLOOM_CHUNK_MISS_COUNT = "blockCacheBloomChunkMissCount";
329   String BLOCK_CACHE_META_MISS_COUNT = "blockCacheMetaMissCount";
330   String BLOCK_CACHE_ROOT_INDEX_MISS_COUNT = "blockCacheRootIndexMissCount";
331   String BLOCK_CACHE_INTERMEDIATE_INDEX_MISS_COUNT = "blockCacheIntermediateIndexMissCount";
332   String BLOCK_CACHE_FILE_INFO_MISS_COUNT = "blockCacheFileInfoMissCount";
333   String BLOCK_CACHE_GENERAL_BLOOM_META_MISS_COUNT = "blockCacheGeneralBloomMetaMissCount";
334   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_MISS_COUNT = "blockCacheDeleteFamilyBloomMissCount";
335   String BLOCK_CACHE_TRAILER_MISS_COUNT = "blockCacheTrailerMissCount";
336   String BLOCK_CACHE_DATA_HIT_COUNT = "blockCacheDataHitCount";
337   String BLOCK_CACHE_ENCODED_DATA_HIT_COUNT = "blockCacheEncodedDataHitCount";
338   String BLOCK_CACHE_LEAF_INDEX_HIT_COUNT = "blockCacheLeafIndexHitCount";
339   String BLOCK_CACHE_BLOOM_CHUNK_HIT_COUNT = "blockCacheBloomChunkHitCount";
340   String BLOCK_CACHE_META_HIT_COUNT = "blockCacheMetaHitCount";
341   String BLOCK_CACHE_ROOT_INDEX_HIT_COUNT = "blockCacheRootIndexHitCount";
342   String BLOCK_CACHE_INTERMEDIATE_INDEX_HIT_COUNT = "blockCacheIntermediateIndexHitCount";
343   String BLOCK_CACHE_FILE_INFO_HIT_COUNT = "blockCacheFileInfoHitCount";
344   String BLOCK_CACHE_GENERAL_BLOOM_META_HIT_COUNT = "blockCacheGeneralBloomMetaHitCount";
345   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_HIT_COUNT = "blockCacheDeleteFamilyBloomHitCount";
346   String BLOCK_CACHE_TRAILER_HIT_COUNT = "blockCacheTrailerHitCount";
347 
348   String L1_CACHE_HIT_COUNT = "l1CacheHitCount";
349   String L1_CACHE_HIT_COUNT_DESC = "L1 cache hit count.";
350   String L1_CACHE_MISS_COUNT = "l1CacheMissCount";
351   String L1_CACHE_MISS_COUNT_DESC = "L1 cache miss count.";
352   String L1_CACHE_HIT_RATIO = "l1CacheHitRatio";
353   String L1_CACHE_HIT_RATIO_DESC = "L1 cache hit ratio.";
354   String L1_CACHE_MISS_RATIO = "l1CacheMissRatio";
355   String L1_CACHE_MISS_RATIO_DESC = "L1 cache miss ratio.";
356   String L2_CACHE_HIT_COUNT = "l2CacheHitCount";
357   String L2_CACHE_HIT_COUNT_DESC = "L2 cache hit count.";
358   String L2_CACHE_MISS_COUNT = "l2CacheMissCount";
359   String L2_CACHE_MISS_COUNT_DESC = "L2 cache miss count.";
360   String L2_CACHE_HIT_RATIO = "l2CacheHitRatio";
361   String L2_CACHE_HIT_RATIO_DESC = "L2 cache hit ratio.";
362   String L2_CACHE_MISS_RATIO = "l2CacheMissRatio";
363   String L2_CACHE_MISS_RATIO_DESC = "L2 cache miss ratio.";
364 
365   String RS_START_TIME_NAME = "regionServerStartTime";
366   String ZOOKEEPER_QUORUM_NAME = "zookeeperQuorum";
367   String SERVER_NAME_NAME = "serverName";
368   String CLUSTER_ID_NAME = "clusterId";
369   String RS_START_TIME_DESC = "RegionServer Start Time";
370   String ZOOKEEPER_QUORUM_DESC = "Zookeeper Quorum";
371   String SERVER_NAME_DESC = "Server Name";
372   String CLUSTER_ID_DESC = "Cluster Id";
373   String UPDATES_BLOCKED_TIME = "updatesBlockedTime";
374   String UPDATES_BLOCKED_DESC =
375       "Number of MS updates have been blocked so that the memstore can be flushed.";
376   String DELETE_KEY = "delete";
377   String CHECK_AND_DELETE_KEY = "checkAndDelete";
378   String CHECK_AND_PUT_KEY = "checkAndPut";
379   String DELETE_BATCH_KEY = "deleteBatch";
380   String GET_SIZE_KEY = "getSize";
381   String GET_KEY = "get";
382   String INCREMENT_KEY = "increment";
383   String PUT_KEY = "put";
384   String PUT_BATCH_KEY = "putBatch";
385   String APPEND_KEY = "append";
386   String REPLAY_KEY = "replay";
387   String SCAN_KEY = "scan";
388   String SCAN_SIZE_KEY = "scanSize";
389   String SCAN_TIME_KEY = "scanTime";
390 
391   String SLOW_PUT_KEY = "slowPutCount";
392   String SLOW_GET_KEY = "slowGetCount";
393   String SLOW_DELETE_KEY = "slowDeleteCount";
394   String SLOW_INCREMENT_KEY = "slowIncrementCount";
395   String SLOW_APPEND_KEY = "slowAppendCount";
396   String SLOW_PUT_DESC =
397       "The number of batches containing puts that took over 1000ms to complete";
398   String SLOW_DELETE_DESC =
399       "The number of batches containing delete(s) that took over 1000ms to complete";
400   String SLOW_GET_DESC = "The number of Gets that took over 1000ms to complete";
401   String SLOW_INCREMENT_DESC =
402       "The number of Increments that took over 1000ms to complete";
403   String SLOW_APPEND_DESC =
404       "The number of Appends that took over 1000ms to complete";
405 
406   String FLUSHED_CELLS = "flushedCellsCount";
407   String FLUSHED_CELLS_DESC = "The number of cells flushed to disk";
408   String FLUSHED_CELLS_SIZE = "flushedCellsSize";
409   String FLUSHED_CELLS_SIZE_DESC = "The total amount of data flushed to disk, in bytes";
410   String COMPACTED_CELLS = "compactedCellsCount";
411   String COMPACTED_CELLS_DESC = "The number of cells processed during minor compactions";
412   String COMPACTED_CELLS_SIZE = "compactedCellsSize";
413   String COMPACTED_CELLS_SIZE_DESC =
414       "The total amount of data processed during minor compactions, in bytes";
415   String MAJOR_COMPACTED_CELLS = "majorCompactedCellsCount";
416   String MAJOR_COMPACTED_CELLS_DESC =
417       "The number of cells processed during major compactions";
418   String MAJOR_COMPACTED_CELLS_SIZE = "majorCompactedCellsSize";
419   String MAJOR_COMPACTED_CELLS_SIZE_DESC =
420       "The total amount of data processed during major compactions, in bytes";
421 
422   String BLOCKED_REQUESTS_COUNT = "blockedRequestCount";
423   String BLOCKED_REQUESTS_COUNT_DESC = "The number of blocked requests because of memstore size is "
424       + "larger than blockingMemStoreSize";
425 
426   String SPLIT_KEY = "splitTime";
427   String SPLIT_REQUEST_KEY = "splitRequestCount";
428   String SPLIT_REQUEST_DESC = "Number of splits requested";
429   String SPLIT_SUCCESS_KEY = "splitSuccessCount";
430   String SPLIT_SUCCESS_DESC = "Number of successfully executed splits";
431 
432   String FLUSH_TIME = "flushTime";
433   String FLUSH_TIME_DESC = "Histogram for the time in millis for memstore flush";
434   String FLUSH_MEMSTORE_SIZE = "flushMemstoreSize";
435   String FLUSH_MEMSTORE_SIZE_DESC = "Histogram for number of bytes in the memstore for a flush";
436   String FLUSH_OUTPUT_SIZE = "flushOutputSize";
437   String FLUSH_OUTPUT_SIZE_DESC = "Histogram for number of bytes in the resulting file for a flush";
438   String FLUSHED_OUTPUT_BYTES = "flushedOutputBytes";
439   String FLUSHED_OUTPUT_BYTES_DESC = "Total number of bytes written from flush";
440   String FLUSHED_MEMSTORE_BYTES = "flushedMemstoreBytes";
441   String FLUSHED_MEMSTORE_BYTES_DESC = "Total number of bytes of cells in memstore from flush";
442 
443   String COMPACTION_TIME = "compactionTime";
444   String COMPACTION_TIME_DESC
445     = "Histogram for the time in millis for compaction, both major and minor";
446   String COMPACTION_INPUT_FILE_COUNT = "compactionInputFileCount";
447   String COMPACTION_INPUT_FILE_COUNT_DESC
448     = "Histogram for the compaction input number of files, both major and minor";
449   String COMPACTION_INPUT_SIZE = "compactionInputSize";
450   String COMPACTION_INPUT_SIZE_DESC
451     = "Histogram for the compaction total input file sizes, both major and minor";
452   String COMPACTION_OUTPUT_FILE_COUNT = "compactionOutputFileCount";
453   String COMPACTION_OUTPUT_FILE_COUNT_DESC
454     = "Histogram for the compaction output number of files, both major and minor";
455   String COMPACTION_OUTPUT_SIZE = "compactionOutputSize";
456   String COMPACTION_OUTPUT_SIZE_DESC
457     = "Histogram for the compaction total output file sizes, both major and minor";
458   String COMPACTED_INPUT_BYTES = "compactedInputBytes";
459   String COMPACTED_INPUT_BYTES_DESC
460     = "Total number of bytes that is read for compaction, both major and minor";
461   String COMPACTED_OUTPUT_BYTES = "compactedOutputBytes";
462   String COMPACTED_OUTPUT_BYTES_DESC
463     = "Total number of bytes that is output from compaction, both major and minor";
464 
465   String MAJOR_COMPACTION_TIME = "majorCompactionTime";
466   String MAJOR_COMPACTION_TIME_DESC
467     = "Histogram for the time in millis for compaction, major only";
468   String MAJOR_COMPACTION_INPUT_FILE_COUNT = "majorCompactionInputFileCount";
469   String MAJOR_COMPACTION_INPUT_FILE_COUNT_DESC
470     = "Histogram for the compaction input number of files, major only";
471   String MAJOR_COMPACTION_INPUT_SIZE = "majorCompactionInputSize";
472   String MAJOR_COMPACTION_INPUT_SIZE_DESC
473     = "Histogram for the compaction total input file sizes, major only";
474   String MAJOR_COMPACTION_OUTPUT_FILE_COUNT = "majorCompactionOutputFileCount";
475   String MAJOR_COMPACTION_OUTPUT_FILE_COUNT_DESC
476     = "Histogram for the compaction output number of files, major only";
477   String MAJOR_COMPACTION_OUTPUT_SIZE = "majorCompactionOutputSize";
478   String MAJOR_COMPACTION_OUTPUT_SIZE_DESC
479     = "Histogram for the compaction total output file sizes, major only";
480   String MAJOR_COMPACTED_INPUT_BYTES = "majorCompactedInputBytes";
481   String MAJOR_COMPACTED_INPUT_BYTES_DESC
482     = "Total number of bytes that is read for compaction, major only";
483   String MAJOR_COMPACTED_OUTPUT_BYTES = "majorCompactedOutputBytes";
484   String MAJOR_COMPACTED_OUTPUT_BYTES_DESC
485     = "Total number of bytes that is output from compaction, major only";
486 
487   String RPC_GET_REQUEST_COUNT = "rpcGetRequestCount";
488   String RPC_GET_REQUEST_COUNT_DESC = "Number of rpc get requests this region server has answered.";
489   String RPC_SCAN_REQUEST_COUNT = "rpcScanRequestCount";
490   String RPC_SCAN_REQUEST_COUNT_DESC =
491       "Number of rpc scan requests this region server has answered.";
492   String RPC_MULTI_REQUEST_COUNT = "rpcMultiRequestCount";
493   String RPC_MULTI_REQUEST_COUNT_DESC =
494       "Number of rpc multi requests this region server has answered.";
495   String RPC_MUTATE_REQUEST_COUNT = "rpcMutateRequestCount";
496   String RPC_MUTATE_REQUEST_COUNT_DESC =
497       "Number of rpc mutation requests this region server has answered.";
498   String AVERAGE_REGION_SIZE = "averageRegionSize";
499   String AVERAGE_REGION_SIZE_DESC =
500       "Average region size over the region server including memstore and storefile sizes.";
501 }