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 READ_REQUEST_RATE = "readRequestRate";
257   String READ_REQUEST_RATE_DESC =
258       "Rate of answering the read requests by this region server per second.";
259   String WRITE_REQUEST_RATE = "writeRequestRate";
260   String WRITE_REQUEST_RATE_DESC =
261       "Rate of answering the mutation requests by this region server per second.";
262   String CHECK_MUTATE_FAILED_COUNT = "checkMutateFailedCount";
263   String CHECK_MUTATE_FAILED_COUNT_DESC =
264       "Number of Check and Mutate calls that failed the checks.";
265   String CHECK_MUTATE_PASSED_COUNT = "checkMutatePassedCount";
266   String CHECK_MUTATE_PASSED_COUNT_DESC =
267       "Number of Check and Mutate calls that passed the checks.";
268   String STOREFILE_INDEX_SIZE = "storeFileIndexSize";
269   String STOREFILE_INDEX_SIZE_DESC = "Size of indexes in storefiles on disk.";
270   String STATIC_INDEX_SIZE = "staticIndexSize";
271   String STATIC_INDEX_SIZE_DESC = "Uncompressed size of the static indexes.";
272   String STATIC_BLOOM_SIZE = "staticBloomSize";
273   String STATIC_BLOOM_SIZE_DESC =
274       "Uncompressed size of the static bloom filters.";
275   String NUMBER_OF_MUTATIONS_WITHOUT_WAL = "mutationsWithoutWALCount";
276   String NUMBER_OF_MUTATIONS_WITHOUT_WAL_DESC =
277       "Number of mutations that have been sent by clients with the write ahead logging turned off.";
278   String DATA_SIZE_WITHOUT_WAL = "mutationsWithoutWALSize";
279   String DATA_SIZE_WITHOUT_WAL_DESC =
280       "Size of data that has been sent by clients with the write ahead logging turned off.";
281   String PERCENT_FILES_LOCAL = "percentFilesLocal";
282   String PERCENT_FILES_LOCAL_DESC =
283       "The percent of HFiles that are stored on the local hdfs data node.";
284   String PERCENT_FILES_LOCAL_SECONDARY_REGIONS = "percentFilesLocalSecondaryRegions";
285   String PERCENT_FILES_LOCAL_SECONDARY_REGIONS_DESC =
286     "The percent of HFiles used by secondary regions that are stored on the local hdfs data node.";
287   String SPLIT_QUEUE_LENGTH = "splitQueueLength";
288   String SPLIT_QUEUE_LENGTH_DESC = "Length of the queue for splits.";
289   String COMPACTION_QUEUE_LENGTH = "compactionQueueLength";
290   String LARGE_COMPACTION_QUEUE_LENGTH = "largeCompactionQueueLength";
291   String SMALL_COMPACTION_QUEUE_LENGTH = "smallCompactionQueueLength";
292   String COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions.";
293   String LARGE_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size "
294       + "larger than throttle threshold (2.5GB by default)";
295   String SMALL_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size "
296       + "smaller than throttle threshold (2.5GB by default)";
297   String FLUSH_QUEUE_LENGTH = "flushQueueLength";
298   String FLUSH_QUEUE_LENGTH_DESC = "Length of the queue for region flushes";
299   String BLOCK_CACHE_FREE_SIZE = "blockCacheFreeSize";
300   String BLOCK_CACHE_FREE_DESC =
301       "Size of the block cache that is not occupied.";
302   String BLOCK_CACHE_COUNT = "blockCacheCount";
303   String BLOCK_CACHE_COUNT_DESC = "Number of block in the block cache.";
304   String BLOCK_CACHE_SIZE = "blockCacheSize";
305   String BLOCK_CACHE_SIZE_DESC = "Size of the block cache.";
306   String BLOCK_CACHE_HIT_COUNT = "blockCacheHitCount";
307   String BLOCK_CACHE_HIT_COUNT_DESC = "Count of the hit on the block cache.";
308   String BLOCK_CACHE_PRIMARY_HIT_COUNT = "blockCacheHitCountPrimary";
309   String BLOCK_CACHE_PRIMARY_HIT_COUNT_DESC = "Count of hit on primary replica in the block cache.";
310   String BLOCK_CACHE_MISS_COUNT = "blockCacheMissCount";
311   String BLOCK_COUNT_MISS_COUNT_DESC =
312       "Number of requests for a block that missed the block cache.";
313   String BLOCK_CACHE_PRIMARY_MISS_COUNT = "blockCacheMissCountPrimary";
314   String BLOCK_COUNT_PRIMARY_MISS_COUNT_DESC =
315       "Number of requests for a block of primary replica that missed the block cache.";
316   String BLOCK_CACHE_EVICTION_COUNT = "blockCacheEvictionCount";
317   String BLOCK_CACHE_EVICTION_COUNT_DESC =
318       "Count of the number of blocks evicted from the block cache.";
319   String BLOCK_CACHE_PRIMARY_EVICTION_COUNT = "blockCacheEvictionCountPrimary";
320   String BLOCK_CACHE_PRIMARY_EVICTION_COUNT_DESC =
321       "Count of the number of blocks evicted from primary replica in the block cache.";
322   String BLOCK_CACHE_HIT_PERCENT = "blockCacheCountHitPercent";
323   String BLOCK_CACHE_HIT_PERCENT_DESC =
324       "Percent of block cache requests that are hits";
325   String BLOCK_CACHE_EXPRESS_HIT_PERCENT = "blockCacheExpressHitPercent";
326   String BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC =
327       "The percent of the time that requests with the cache turned on hit the cache.";
328   String BLOCK_CACHE_FAILED_INSERTION_COUNT = "blockCacheFailedInsertionCount";
329   String BLOCK_CACHE_FAILED_INSERTION_COUNT_DESC = "Number of times that a block cache " +
330       "insertion failed. Usually due to size restrictions.";
331   String BLOCK_CACHE_DATA_MISS_COUNT = "blockCacheDataMissCount";
332   String BLOCK_CACHE_ENCODED_DATA_MISS_COUNT = "blockCacheEncodedDataMissCount";
333   String BLOCK_CACHE_LEAF_INDEX_MISS_COUNT = "blockCacheLeafIndexMissCount";
334   String BLOCK_CACHE_BLOOM_CHUNK_MISS_COUNT = "blockCacheBloomChunkMissCount";
335   String BLOCK_CACHE_META_MISS_COUNT = "blockCacheMetaMissCount";
336   String BLOCK_CACHE_ROOT_INDEX_MISS_COUNT = "blockCacheRootIndexMissCount";
337   String BLOCK_CACHE_INTERMEDIATE_INDEX_MISS_COUNT = "blockCacheIntermediateIndexMissCount";
338   String BLOCK_CACHE_FILE_INFO_MISS_COUNT = "blockCacheFileInfoMissCount";
339   String BLOCK_CACHE_GENERAL_BLOOM_META_MISS_COUNT = "blockCacheGeneralBloomMetaMissCount";
340   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_MISS_COUNT = "blockCacheDeleteFamilyBloomMissCount";
341   String BLOCK_CACHE_TRAILER_MISS_COUNT = "blockCacheTrailerMissCount";
342   String BLOCK_CACHE_DATA_HIT_COUNT = "blockCacheDataHitCount";
343   String BLOCK_CACHE_ENCODED_DATA_HIT_COUNT = "blockCacheEncodedDataHitCount";
344   String BLOCK_CACHE_LEAF_INDEX_HIT_COUNT = "blockCacheLeafIndexHitCount";
345   String BLOCK_CACHE_BLOOM_CHUNK_HIT_COUNT = "blockCacheBloomChunkHitCount";
346   String BLOCK_CACHE_META_HIT_COUNT = "blockCacheMetaHitCount";
347   String BLOCK_CACHE_ROOT_INDEX_HIT_COUNT = "blockCacheRootIndexHitCount";
348   String BLOCK_CACHE_INTERMEDIATE_INDEX_HIT_COUNT = "blockCacheIntermediateIndexHitCount";
349   String BLOCK_CACHE_FILE_INFO_HIT_COUNT = "blockCacheFileInfoHitCount";
350   String BLOCK_CACHE_GENERAL_BLOOM_META_HIT_COUNT = "blockCacheGeneralBloomMetaHitCount";
351   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_HIT_COUNT = "blockCacheDeleteFamilyBloomHitCount";
352   String BLOCK_CACHE_TRAILER_HIT_COUNT = "blockCacheTrailerHitCount";
353 
354   String L1_CACHE_HIT_COUNT = "l1CacheHitCount";
355   String L1_CACHE_HIT_COUNT_DESC = "L1 cache hit count.";
356   String L1_CACHE_MISS_COUNT = "l1CacheMissCount";
357   String L1_CACHE_MISS_COUNT_DESC = "L1 cache miss count.";
358   String L1_CACHE_HIT_RATIO = "l1CacheHitRatio";
359   String L1_CACHE_HIT_RATIO_DESC = "L1 cache hit ratio.";
360   String L1_CACHE_MISS_RATIO = "l1CacheMissRatio";
361   String L1_CACHE_MISS_RATIO_DESC = "L1 cache miss ratio.";
362   String L2_CACHE_HIT_COUNT = "l2CacheHitCount";
363   String L2_CACHE_HIT_COUNT_DESC = "L2 cache hit count.";
364   String L2_CACHE_MISS_COUNT = "l2CacheMissCount";
365   String L2_CACHE_MISS_COUNT_DESC = "L2 cache miss count.";
366   String L2_CACHE_HIT_RATIO = "l2CacheHitRatio";
367   String L2_CACHE_HIT_RATIO_DESC = "L2 cache hit ratio.";
368   String L2_CACHE_MISS_RATIO = "l2CacheMissRatio";
369   String L2_CACHE_MISS_RATIO_DESC = "L2 cache miss ratio.";
370 
371   String RS_START_TIME_NAME = "regionServerStartTime";
372   String ZOOKEEPER_QUORUM_NAME = "zookeeperQuorum";
373   String SERVER_NAME_NAME = "serverName";
374   String CLUSTER_ID_NAME = "clusterId";
375   String RS_START_TIME_DESC = "RegionServer Start Time";
376   String ZOOKEEPER_QUORUM_DESC = "Zookeeper Quorum";
377   String SERVER_NAME_DESC = "Server Name";
378   String CLUSTER_ID_DESC = "Cluster Id";
379   String UPDATES_BLOCKED_TIME = "updatesBlockedTime";
380   String UPDATES_BLOCKED_DESC =
381       "Number of MS updates have been blocked so that the memstore can be flushed.";
382   String DELETE_KEY = "delete";
383   String CHECK_AND_DELETE_KEY = "checkAndDelete";
384   String CHECK_AND_PUT_KEY = "checkAndPut";
385   String DELETE_BATCH_KEY = "deleteBatch";
386   String GET_SIZE_KEY = "getSize";
387   String GET_KEY = "get";
388   String INCREMENT_KEY = "increment";
389   String PUT_KEY = "put";
390   String PUT_BATCH_KEY = "putBatch";
391   String APPEND_KEY = "append";
392   String REPLAY_KEY = "replay";
393   String SCAN_KEY = "scan";
394   String SCAN_SIZE_KEY = "scanSize";
395   String SCAN_TIME_KEY = "scanTime";
396 
397   String SLOW_PUT_KEY = "slowPutCount";
398   String SLOW_GET_KEY = "slowGetCount";
399   String SLOW_DELETE_KEY = "slowDeleteCount";
400   String SLOW_INCREMENT_KEY = "slowIncrementCount";
401   String SLOW_APPEND_KEY = "slowAppendCount";
402   String SLOW_PUT_DESC =
403       "The number of batches containing puts that took over 1000ms to complete";
404   String SLOW_DELETE_DESC =
405       "The number of batches containing delete(s) that took over 1000ms to complete";
406   String SLOW_GET_DESC = "The number of Gets that took over 1000ms to complete";
407   String SLOW_INCREMENT_DESC =
408       "The number of Increments that took over 1000ms to complete";
409   String SLOW_APPEND_DESC =
410       "The number of Appends that took over 1000ms to complete";
411 
412   String FLUSHED_CELLS = "flushedCellsCount";
413   String FLUSHED_CELLS_DESC = "The number of cells flushed to disk";
414   String FLUSHED_CELLS_SIZE = "flushedCellsSize";
415   String FLUSHED_CELLS_SIZE_DESC = "The total amount of data flushed to disk, in bytes";
416   String COMPACTED_CELLS = "compactedCellsCount";
417   String COMPACTED_CELLS_DESC = "The number of cells processed during minor compactions";
418   String COMPACTED_CELLS_SIZE = "compactedCellsSize";
419   String COMPACTED_CELLS_SIZE_DESC =
420       "The total amount of data processed during minor compactions, in bytes";
421   String MAJOR_COMPACTED_CELLS = "majorCompactedCellsCount";
422   String MAJOR_COMPACTED_CELLS_DESC =
423       "The number of cells processed during major compactions";
424   String MAJOR_COMPACTED_CELLS_SIZE = "majorCompactedCellsSize";
425   String MAJOR_COMPACTED_CELLS_SIZE_DESC =
426       "The total amount of data processed during major compactions, in bytes";
427 
428   String BLOCKED_REQUESTS_COUNT = "blockedRequestCount";
429   String BLOCKED_REQUESTS_COUNT_DESC = "The number of blocked requests because of memstore size is "
430       + "larger than blockingMemStoreSize";
431 
432   String SPLIT_KEY = "splitTime";
433   String SPLIT_REQUEST_KEY = "splitRequestCount";
434   String SPLIT_REQUEST_DESC = "Number of splits requested";
435   String SPLIT_SUCCESS_KEY = "splitSuccessCount";
436   String SPLIT_SUCCESS_DESC = "Number of successfully executed splits";
437 
438   String FLUSH_TIME = "flushTime";
439   String FLUSH_TIME_DESC = "Histogram for the time in millis for memstore flush";
440   String FLUSH_MEMSTORE_SIZE = "flushMemstoreSize";
441   String FLUSH_MEMSTORE_SIZE_DESC = "Histogram for number of bytes in the memstore for a flush";
442   String FLUSH_OUTPUT_SIZE = "flushOutputSize";
443   String FLUSH_OUTPUT_SIZE_DESC = "Histogram for number of bytes in the resulting file for a flush";
444   String FLUSHED_OUTPUT_BYTES = "flushedOutputBytes";
445   String FLUSHED_OUTPUT_BYTES_DESC = "Total number of bytes written from flush";
446   String FLUSHED_MEMSTORE_BYTES = "flushedMemstoreBytes";
447   String FLUSHED_MEMSTORE_BYTES_DESC = "Total number of bytes of cells in memstore from flush";
448 
449   String COMPACTION_TIME = "compactionTime";
450   String COMPACTION_TIME_DESC
451     = "Histogram for the time in millis for compaction, both major and minor";
452   String COMPACTION_INPUT_FILE_COUNT = "compactionInputFileCount";
453   String COMPACTION_INPUT_FILE_COUNT_DESC
454     = "Histogram for the compaction input number of files, both major and minor";
455   String COMPACTION_INPUT_SIZE = "compactionInputSize";
456   String COMPACTION_INPUT_SIZE_DESC
457     = "Histogram for the compaction total input file sizes, both major and minor";
458   String COMPACTION_OUTPUT_FILE_COUNT = "compactionOutputFileCount";
459   String COMPACTION_OUTPUT_FILE_COUNT_DESC
460     = "Histogram for the compaction output number of files, both major and minor";
461   String COMPACTION_OUTPUT_SIZE = "compactionOutputSize";
462   String COMPACTION_OUTPUT_SIZE_DESC
463     = "Histogram for the compaction total output file sizes, both major and minor";
464   String COMPACTED_INPUT_BYTES = "compactedInputBytes";
465   String COMPACTED_INPUT_BYTES_DESC
466     = "Total number of bytes that is read for compaction, both major and minor";
467   String COMPACTED_OUTPUT_BYTES = "compactedOutputBytes";
468   String COMPACTED_OUTPUT_BYTES_DESC
469     = "Total number of bytes that is output from compaction, both major and minor";
470 
471   String MAJOR_COMPACTION_TIME = "majorCompactionTime";
472   String MAJOR_COMPACTION_TIME_DESC
473     = "Histogram for the time in millis for compaction, major only";
474   String MAJOR_COMPACTION_INPUT_FILE_COUNT = "majorCompactionInputFileCount";
475   String MAJOR_COMPACTION_INPUT_FILE_COUNT_DESC
476     = "Histogram for the compaction input number of files, major only";
477   String MAJOR_COMPACTION_INPUT_SIZE = "majorCompactionInputSize";
478   String MAJOR_COMPACTION_INPUT_SIZE_DESC
479     = "Histogram for the compaction total input file sizes, major only";
480   String MAJOR_COMPACTION_OUTPUT_FILE_COUNT = "majorCompactionOutputFileCount";
481   String MAJOR_COMPACTION_OUTPUT_FILE_COUNT_DESC
482     = "Histogram for the compaction output number of files, major only";
483   String MAJOR_COMPACTION_OUTPUT_SIZE = "majorCompactionOutputSize";
484   String MAJOR_COMPACTION_OUTPUT_SIZE_DESC
485     = "Histogram for the compaction total output file sizes, major only";
486   String MAJOR_COMPACTED_INPUT_BYTES = "majorCompactedInputBytes";
487   String MAJOR_COMPACTED_INPUT_BYTES_DESC
488     = "Total number of bytes that is read for compaction, major only";
489   String MAJOR_COMPACTED_OUTPUT_BYTES = "majorCompactedOutputBytes";
490   String MAJOR_COMPACTED_OUTPUT_BYTES_DESC
491     = "Total number of bytes that is output from compaction, major only";
492 
493   String RPC_GET_REQUEST_COUNT = "rpcGetRequestCount";
494   String RPC_GET_REQUEST_COUNT_DESC = "Number of rpc get requests this region server has answered.";
495   String RPC_SCAN_REQUEST_COUNT = "rpcScanRequestCount";
496   String RPC_SCAN_REQUEST_COUNT_DESC =
497       "Number of rpc scan requests this region server has answered.";
498   String RPC_MULTI_REQUEST_COUNT = "rpcMultiRequestCount";
499   String RPC_MULTI_REQUEST_COUNT_DESC =
500       "Number of rpc multi requests this region server has answered.";
501   String RPC_MUTATE_REQUEST_COUNT = "rpcMutateRequestCount";
502   String RPC_MUTATE_REQUEST_COUNT_DESC =
503       "Number of rpc mutation requests this region server has answered.";
504   String AVERAGE_REGION_SIZE = "averageRegionSize";
505   String AVERAGE_REGION_SIZE_DESC =
506       "Average region size over the region server including memstore and storefile sizes.";
507 }