001/** 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018 019package org.apache.hadoop.hbase.regionserver; 020 021import org.apache.hadoop.hbase.metrics.BaseSource; 022import org.apache.hadoop.hbase.metrics.JvmPauseMonitorSource; 023import org.apache.yetus.audience.InterfaceAudience; 024 025/** 026 * Interface for classes that expose metrics about the regionserver. 027 */ 028@InterfaceAudience.Private 029public interface MetricsRegionServerSource extends BaseSource, JvmPauseMonitorSource { 030 031 /** 032 * The name of the metrics 033 */ 034 String METRICS_NAME = "Server"; 035 036 /** 037 * The name of the metrics context that metrics will be under. 038 */ 039 String METRICS_CONTEXT = "regionserver"; 040 041 /** 042 * Description 043 */ 044 String METRICS_DESCRIPTION = "Metrics about HBase RegionServer"; 045 046 /** 047 * The name of the metrics context that metrics will be under in jmx 048 */ 049 String METRICS_JMX_CONTEXT = "RegionServer,sub=" + METRICS_NAME; 050 051 /** 052 * Update the Put time histogram 053 * 054 * @param t time it took 055 */ 056 void updatePut(long t); 057 058 /** 059 * Update the PutBatch time histogram if a batch contains a Put op 060 * @param t 061 */ 062 void updatePutBatch(long t); 063 064 /** 065 * Update the Delete time histogram 066 * 067 * @param t time it took 068 */ 069 void updateDelete(long t); 070 071 /** 072 * Update the Delete time histogram if a batch contains a delete op 073 * @param t time it took 074 */ 075 void updateDeleteBatch(long t); 076 077 /** 078 * Update checkAndDelete histogram 079 * @param t time it took 080 */ 081 void updateCheckAndDelete(long t); 082 083 /** 084 * Update checkAndPut histogram 085 * @param t time it took 086 */ 087 void updateCheckAndPut(long t); 088 089 /** 090 * Update the Get time histogram . 091 * 092 * @param t time it took 093 */ 094 void updateGet(long t); 095 096 /** 097 * Update the Increment time histogram. 098 * 099 * @param t time it took 100 */ 101 void updateIncrement(long t); 102 103 /** 104 * Update the Append time histogram. 105 * 106 * @param t time it took 107 */ 108 void updateAppend(long t); 109 110 /** 111 * Update the Replay time histogram. 112 * 113 * @param t time it took 114 */ 115 void updateReplay(long t); 116 117 /** 118 * Update the scan size. 119 * 120 * @param scanSize size of the scan 121 */ 122 void updateScanSize(long scanSize); 123 124 /** 125 * Update the scan time. 126 * */ 127 void updateScanTime(long t); 128 129 /** 130 * Increment the number of slow Puts that have happened. 131 */ 132 void incrSlowPut(); 133 134 /** 135 * Increment the number of slow Deletes that have happened. 136 */ 137 void incrSlowDelete(); 138 139 /** 140 * Increment the number of slow Gets that have happened. 141 */ 142 void incrSlowGet(); 143 144 /** 145 * Increment the number of slow Increments that have happened. 146 */ 147 void incrSlowIncrement(); 148 149 /** 150 * Increment the number of slow Appends that have happened. 151 */ 152 void incrSlowAppend(); 153 154 /** 155 * Update the split transaction time histogram 156 * @param t time it took, in milliseconds 157 */ 158 void updateSplitTime(long t); 159 160 /** 161 * Increment number of a requested splits 162 */ 163 void incrSplitRequest(); 164 165 /** 166 * Increment number of successful splits 167 */ 168 void incrSplitSuccess(); 169 170 /** 171 * Update the flush time histogram 172 * @param t time it took, in milliseconds 173 */ 174 void updateFlushTime(long t); 175 176 /** 177 * Update the flush memstore size histogram 178 * @param bytes the number of bytes in the memstore 179 */ 180 void updateFlushMemStoreSize(long bytes); 181 182 /** 183 * Update the flush output file size histogram 184 * @param bytes the number of bytes in the output file 185 */ 186 void updateFlushOutputSize(long bytes); 187 188 /** 189 * Update the compaction time histogram, both major and minor 190 * @param isMajor whether compaction is a major compaction 191 * @param t time it took, in milliseconds 192 */ 193 void updateCompactionTime(boolean isMajor, long t); 194 195 /** 196 * Update the compaction input number of files histogram 197 * @param isMajor whether compaction is a major compaction 198 * @param c number of files 199 */ 200 void updateCompactionInputFileCount(boolean isMajor, long c); 201 202 /** 203 * Update the compaction total input file size histogram 204 * @param isMajor whether compaction is a major compaction 205 * @param bytes the number of bytes of the compaction input file 206 */ 207 void updateCompactionInputSize(boolean isMajor, long bytes); 208 209 /** 210 * Update the compaction output number of files histogram 211 * @param isMajor whether compaction is a major compaction 212 * @param c number of files 213 */ 214 void updateCompactionOutputFileCount(boolean isMajor, long c); 215 216 /** 217 * Update the compaction total output file size 218 * @param isMajor whether compaction is a major compaction 219 * @param bytes the number of bytes of the compaction input file 220 */ 221 void updateCompactionOutputSize(boolean isMajor, long bytes); 222 223 // Strings used for exporting to metrics system. 224 String REGION_COUNT = "regionCount"; 225 String REGION_COUNT_DESC = "Number of regions"; 226 String STORE_COUNT = "storeCount"; 227 String STORE_COUNT_DESC = "Number of Stores"; 228 String WALFILE_COUNT = "hlogFileCount"; 229 String WALFILE_COUNT_DESC = "Number of WAL Files"; 230 String WALFILE_SIZE = "hlogFileSize"; 231 String WALFILE_SIZE_DESC = "Size of all WAL Files"; 232 String STOREFILE_COUNT = "storeFileCount"; 233 String STOREFILE_COUNT_DESC = "Number of Store Files"; 234 String MEMSTORE_SIZE = "memStoreSize"; 235 String MEMSTORE_SIZE_DESC = "Size of the memstore"; 236 String STOREFILE_SIZE = "storeFileSize"; 237 String MAX_STORE_FILE_AGE = "maxStoreFileAge"; 238 String MIN_STORE_FILE_AGE = "minStoreFileAge"; 239 String AVG_STORE_FILE_AGE = "avgStoreFileAge"; 240 String NUM_REFERENCE_FILES = "numReferenceFiles"; 241 String MAX_STORE_FILE_AGE_DESC = "Max age of store files hosted on this RegionServer"; 242 String MIN_STORE_FILE_AGE_DESC = "Min age of store files hosted on this RegionServer"; 243 String AVG_STORE_FILE_AGE_DESC = "Average age of store files hosted on this RegionServer"; 244 String NUM_REFERENCE_FILES_DESC = "Number of reference file on this RegionServer"; 245 String STOREFILE_SIZE_DESC = "Size of storefiles being served."; 246 String TOTAL_REQUEST_COUNT = "totalRequestCount"; 247 String TOTAL_REQUEST_COUNT_DESC = 248 "Total number of requests this RegionServer has answered; increments the count once for " + 249 "EVERY access whether an admin operation, a Scan, a Put or Put of 1M rows, or a Get " + 250 "of a non-existent row"; 251 String TOTAL_ROW_ACTION_REQUEST_COUNT = "totalRowActionRequestCount"; 252 String TOTAL_ROW_ACTION_REQUEST_COUNT_DESC = 253 "Total number of region requests this RegionServer has answered; counts by row-level " + 254 "action at the RPC Server (Sums 'readRequestsCount' and 'writeRequestsCount'); counts" + 255 "once per access whether a Put of 1M rows or a Get that returns 1M Results"; 256 String READ_REQUEST_COUNT = "readRequestCount"; 257 String READ_REQUEST_COUNT_DESC = 258 "Number of read requests with non-empty Results that this RegionServer has answered."; 259 String FILTERED_READ_REQUEST_COUNT = "filteredReadRequestCount"; 260 String FILTERED_READ_REQUEST_COUNT_DESC = 261 "Number of filtered read requests this RegionServer has answered."; 262 String WRITE_REQUEST_COUNT = "writeRequestCount"; 263 String WRITE_REQUEST_COUNT_DESC = 264 "Number of mutation requests this RegionServer has answered."; 265 String CHECK_MUTATE_FAILED_COUNT = "checkMutateFailedCount"; 266 String CHECK_MUTATE_FAILED_COUNT_DESC = 267 "Number of Check and Mutate calls that failed the checks."; 268 String CHECK_MUTATE_PASSED_COUNT = "checkMutatePassedCount"; 269 String CHECK_MUTATE_PASSED_COUNT_DESC = 270 "Number of Check and Mutate calls that passed the checks."; 271 String STOREFILE_INDEX_SIZE = "storeFileIndexSize"; 272 String STOREFILE_INDEX_SIZE_DESC = "Size of indexes in storefiles on disk."; 273 String STATIC_INDEX_SIZE = "staticIndexSize"; 274 String STATIC_INDEX_SIZE_DESC = "Uncompressed size of the static indexes."; 275 String STATIC_BLOOM_SIZE = "staticBloomSize"; 276 String STATIC_BLOOM_SIZE_DESC = 277 "Uncompressed size of the static bloom filters."; 278 String NUMBER_OF_MUTATIONS_WITHOUT_WAL = "mutationsWithoutWALCount"; 279 String NUMBER_OF_MUTATIONS_WITHOUT_WAL_DESC = 280 "Number of mutations that have been sent by clients with the write ahead logging turned off."; 281 String DATA_SIZE_WITHOUT_WAL = "mutationsWithoutWALSize"; 282 String DATA_SIZE_WITHOUT_WAL_DESC = 283 "Size of data that has been sent by clients with the write ahead logging turned off."; 284 String PERCENT_FILES_LOCAL = "percentFilesLocal"; 285 String PERCENT_FILES_LOCAL_DESC = 286 "The percent of HFiles that are stored on the local hdfs data node."; 287 String PERCENT_FILES_LOCAL_SECONDARY_REGIONS = "percentFilesLocalSecondaryRegions"; 288 String PERCENT_FILES_LOCAL_SECONDARY_REGIONS_DESC = 289 "The percent of HFiles used by secondary regions that are stored on the local hdfs data node."; 290 String SPLIT_QUEUE_LENGTH = "splitQueueLength"; 291 String SPLIT_QUEUE_LENGTH_DESC = "Length of the queue for splits."; 292 String COMPACTION_QUEUE_LENGTH = "compactionQueueLength"; 293 String LARGE_COMPACTION_QUEUE_LENGTH = "largeCompactionQueueLength"; 294 String SMALL_COMPACTION_QUEUE_LENGTH = "smallCompactionQueueLength"; 295 String COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions."; 296 String LARGE_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size " 297 + "larger than throttle threshold (2.5GB by default)"; 298 String SMALL_COMPACTION_QUEUE_LENGTH_DESC = "Length of the queue for compactions with input size " 299 + "smaller than throttle threshold (2.5GB by default)"; 300 String FLUSH_QUEUE_LENGTH = "flushQueueLength"; 301 String FLUSH_QUEUE_LENGTH_DESC = "Length of the queue for region flushes"; 302 String BLOCK_CACHE_FREE_SIZE = "blockCacheFreeSize"; 303 String BLOCK_CACHE_FREE_DESC = 304 "Size of the block cache that is not occupied."; 305 String BLOCK_CACHE_COUNT = "blockCacheCount"; 306 String BLOCK_CACHE_COUNT_DESC = "Number of block in the block cache."; 307 String BLOCK_CACHE_SIZE = "blockCacheSize"; 308 String BLOCK_CACHE_SIZE_DESC = "Size of the block cache."; 309 String BLOCK_CACHE_HIT_COUNT = "blockCacheHitCount"; 310 String BLOCK_CACHE_HIT_COUNT_DESC = "Count of the hit on the block cache."; 311 String BLOCK_CACHE_PRIMARY_HIT_COUNT = "blockCacheHitCountPrimary"; 312 String BLOCK_CACHE_PRIMARY_HIT_COUNT_DESC = "Count of hit on primary replica in the block cache."; 313 String BLOCK_CACHE_MISS_COUNT = "blockCacheMissCount"; 314 String BLOCK_COUNT_MISS_COUNT_DESC = 315 "Number of requests for a block that missed the block cache."; 316 String BLOCK_CACHE_PRIMARY_MISS_COUNT = "blockCacheMissCountPrimary"; 317 String BLOCK_COUNT_PRIMARY_MISS_COUNT_DESC = 318 "Number of requests for a block of primary replica that missed the block cache."; 319 String BLOCK_CACHE_EVICTION_COUNT = "blockCacheEvictionCount"; 320 String BLOCK_CACHE_EVICTION_COUNT_DESC = 321 "Count of the number of blocks evicted from the block cache." 322 + "(Not including blocks evicted because of HFile removal)"; 323 String BLOCK_CACHE_PRIMARY_EVICTION_COUNT = "blockCacheEvictionCountPrimary"; 324 String BLOCK_CACHE_PRIMARY_EVICTION_COUNT_DESC = 325 "Count of the number of blocks evicted from primary replica in the block cache."; 326 String BLOCK_CACHE_HIT_PERCENT = "blockCacheCountHitPercent"; 327 String BLOCK_CACHE_HIT_PERCENT_DESC = 328 "Percent of block cache requests that are hits"; 329 String BLOCK_CACHE_EXPRESS_HIT_PERCENT = "blockCacheExpressHitPercent"; 330 String BLOCK_CACHE_EXPRESS_HIT_PERCENT_DESC = 331 "The percent of the time that requests with the cache turned on hit the cache."; 332 String BLOCK_CACHE_FAILED_INSERTION_COUNT = "blockCacheFailedInsertionCount"; 333 String BLOCK_CACHE_FAILED_INSERTION_COUNT_DESC = "Number of times that a block cache " + 334 "insertion failed. Usually due to size restrictions."; 335 String BLOCK_CACHE_DATA_MISS_COUNT = "blockCacheDataMissCount"; 336 String BLOCK_CACHE_ENCODED_DATA_MISS_COUNT = "blockCacheEncodedDataMissCount"; 337 String BLOCK_CACHE_LEAF_INDEX_MISS_COUNT = "blockCacheLeafIndexMissCount"; 338 String BLOCK_CACHE_BLOOM_CHUNK_MISS_COUNT = "blockCacheBloomChunkMissCount"; 339 String BLOCK_CACHE_META_MISS_COUNT = "blockCacheMetaMissCount"; 340 String BLOCK_CACHE_ROOT_INDEX_MISS_COUNT = "blockCacheRootIndexMissCount"; 341 String BLOCK_CACHE_INTERMEDIATE_INDEX_MISS_COUNT = "blockCacheIntermediateIndexMissCount"; 342 String BLOCK_CACHE_FILE_INFO_MISS_COUNT = "blockCacheFileInfoMissCount"; 343 String BLOCK_CACHE_GENERAL_BLOOM_META_MISS_COUNT = "blockCacheGeneralBloomMetaMissCount"; 344 String BLOCK_CACHE_DELETE_FAMILY_BLOOM_MISS_COUNT = "blockCacheDeleteFamilyBloomMissCount"; 345 String BLOCK_CACHE_TRAILER_MISS_COUNT = "blockCacheTrailerMissCount"; 346 String BLOCK_CACHE_DATA_HIT_COUNT = "blockCacheDataHitCount"; 347 String BLOCK_CACHE_ENCODED_DATA_HIT_COUNT = "blockCacheEncodedDataHitCount"; 348 String BLOCK_CACHE_LEAF_INDEX_HIT_COUNT = "blockCacheLeafIndexHitCount"; 349 String BLOCK_CACHE_BLOOM_CHUNK_HIT_COUNT = "blockCacheBloomChunkHitCount"; 350 String BLOCK_CACHE_META_HIT_COUNT = "blockCacheMetaHitCount"; 351 String BLOCK_CACHE_ROOT_INDEX_HIT_COUNT = "blockCacheRootIndexHitCount"; 352 String BLOCK_CACHE_INTERMEDIATE_INDEX_HIT_COUNT = "blockCacheIntermediateIndexHitCount"; 353 String BLOCK_CACHE_FILE_INFO_HIT_COUNT = "blockCacheFileInfoHitCount"; 354 String BLOCK_CACHE_GENERAL_BLOOM_META_HIT_COUNT = "blockCacheGeneralBloomMetaHitCount"; 355 String BLOCK_CACHE_DELETE_FAMILY_BLOOM_HIT_COUNT = "blockCacheDeleteFamilyBloomHitCount"; 356 String BLOCK_CACHE_TRAILER_HIT_COUNT = "blockCacheTrailerHitCount"; 357 String L1_CACHE_HIT_COUNT = "l1CacheHitCount"; 358 String L1_CACHE_HIT_COUNT_DESC = "L1 cache hit count."; 359 String L1_CACHE_MISS_COUNT = "l1CacheMissCount"; 360 String L1_CACHE_MISS_COUNT_DESC = "L1 cache miss count."; 361 String L1_CACHE_HIT_RATIO = "l1CacheHitRatio"; 362 String L1_CACHE_HIT_RATIO_DESC = "L1 cache hit ratio."; 363 String L1_CACHE_MISS_RATIO = "l1CacheMissRatio"; 364 String L1_CACHE_MISS_RATIO_DESC = "L1 cache miss ratio."; 365 String L2_CACHE_HIT_COUNT = "l2CacheHitCount"; 366 String L2_CACHE_HIT_COUNT_DESC = "L2 cache hit count."; 367 String L2_CACHE_MISS_COUNT = "l2CacheMissCount"; 368 String L2_CACHE_MISS_COUNT_DESC = "L2 cache miss count."; 369 String L2_CACHE_HIT_RATIO = "l2CacheHitRatio"; 370 String L2_CACHE_HIT_RATIO_DESC = "L2 cache hit ratio."; 371 String L2_CACHE_MISS_RATIO = "l2CacheMissRatio"; 372 String L2_CACHE_MISS_RATIO_DESC = "L2 cache miss ratio."; 373 String RS_START_TIME_NAME = "regionServerStartTime"; 374 String ZOOKEEPER_QUORUM_NAME = "zookeeperQuorum"; 375 String SERVER_NAME_NAME = "serverName"; 376 String CLUSTER_ID_NAME = "clusterId"; 377 String RS_START_TIME_DESC = "RegionServer Start Time"; 378 String ZOOKEEPER_QUORUM_DESC = "ZooKeeper Quorum"; 379 String SERVER_NAME_DESC = "Server Name"; 380 String CLUSTER_ID_DESC = "Cluster Id"; 381 String UPDATES_BLOCKED_TIME = "updatesBlockedTime"; 382 String UPDATES_BLOCKED_DESC = 383 "Number of MS updates have been blocked so that the memstore can be flushed."; 384 String DELETE_KEY = "delete"; 385 String CHECK_AND_DELETE_KEY = "checkAndDelete"; 386 String CHECK_AND_PUT_KEY = "checkAndPut"; 387 String DELETE_BATCH_KEY = "deleteBatch"; 388 String GET_SIZE_KEY = "getSize"; 389 String GET_KEY = "get"; 390 String INCREMENT_KEY = "increment"; 391 String PUT_KEY = "put"; 392 String PUT_BATCH_KEY = "putBatch"; 393 String APPEND_KEY = "append"; 394 String REPLAY_KEY = "replay"; 395 String SCAN_KEY = "scan"; 396 String SCAN_SIZE_KEY = "scanSize"; 397 String SCAN_TIME_KEY = "scanTime"; 398 399 String SLOW_PUT_KEY = "slowPutCount"; 400 String SLOW_GET_KEY = "slowGetCount"; 401 String SLOW_DELETE_KEY = "slowDeleteCount"; 402 String SLOW_INCREMENT_KEY = "slowIncrementCount"; 403 String SLOW_APPEND_KEY = "slowAppendCount"; 404 String SLOW_PUT_DESC = 405 "The number of batches containing puts that took over 1000ms to complete"; 406 String SLOW_DELETE_DESC = 407 "The number of batches containing delete(s) that took over 1000ms to complete"; 408 String SLOW_GET_DESC = "The number of Gets that took over 1000ms to complete"; 409 String SLOW_INCREMENT_DESC = 410 "The number of Increments that took over 1000ms to complete"; 411 String SLOW_APPEND_DESC = 412 "The number of Appends that took over 1000ms to complete"; 413 414 String FLUSHED_CELLS = "flushedCellsCount"; 415 String FLUSHED_CELLS_DESC = "The number of cells flushed to disk"; 416 String FLUSHED_CELLS_SIZE = "flushedCellsSize"; 417 String FLUSHED_CELLS_SIZE_DESC = "The total amount of data flushed to disk, in bytes"; 418 String COMPACTED_CELLS = "compactedCellsCount"; 419 String COMPACTED_CELLS_DESC = "The number of cells processed during minor compactions"; 420 String COMPACTED_CELLS_SIZE = "compactedCellsSize"; 421 String COMPACTED_CELLS_SIZE_DESC = 422 "The total amount of data processed during minor compactions, in bytes"; 423 String MAJOR_COMPACTED_CELLS = "majorCompactedCellsCount"; 424 String MAJOR_COMPACTED_CELLS_DESC = 425 "The number of cells processed during major compactions"; 426 String MAJOR_COMPACTED_CELLS_SIZE = "majorCompactedCellsSize"; 427 String MAJOR_COMPACTED_CELLS_SIZE_DESC = 428 "The total amount of data processed during major compactions, in bytes"; 429 String CELLS_COUNT_COMPACTED_TO_MOB = "cellsCountCompactedToMob"; 430 String CELLS_COUNT_COMPACTED_TO_MOB_DESC = 431 "The number of cells moved to mob during compaction"; 432 String CELLS_COUNT_COMPACTED_FROM_MOB = "cellsCountCompactedFromMob"; 433 String CELLS_COUNT_COMPACTED_FROM_MOB_DESC = 434 "The number of cells moved from mob during compaction"; 435 String CELLS_SIZE_COMPACTED_TO_MOB = "cellsSizeCompactedToMob"; 436 String CELLS_SIZE_COMPACTED_TO_MOB_DESC = 437 "The total amount of cells move to mob during compaction, in bytes"; 438 String CELLS_SIZE_COMPACTED_FROM_MOB = "cellsSizeCompactedFromMob"; 439 String CELLS_SIZE_COMPACTED_FROM_MOB_DESC = 440 "The total amount of cells move from mob during compaction, in bytes"; 441 String MOB_FLUSH_COUNT = "mobFlushCount"; 442 String MOB_FLUSH_COUNT_DESC = "The number of the flushes in mob-enabled stores"; 443 String MOB_FLUSHED_CELLS_COUNT = "mobFlushedCellsCount"; 444 String MOB_FLUSHED_CELLS_COUNT_DESC = "The number of mob cells flushed to disk"; 445 String MOB_FLUSHED_CELLS_SIZE = "mobFlushedCellsSize"; 446 String MOB_FLUSHED_CELLS_SIZE_DESC = "The total amount of mob cells flushed to disk, in bytes"; 447 String MOB_SCAN_CELLS_COUNT = "mobScanCellsCount"; 448 String MOB_SCAN_CELLS_COUNT_DESC = "The number of scanned mob cells"; 449 String MOB_SCAN_CELLS_SIZE = "mobScanCellsSize"; 450 String MOB_SCAN_CELLS_SIZE_DESC = "The total amount of scanned mob cells, in bytes"; 451 String MOB_FILE_CACHE_ACCESS_COUNT = "mobFileCacheAccessCount"; 452 String MOB_FILE_CACHE_ACCESS_COUNT_DESC = "The count of accesses to the mob file cache"; 453 String MOB_FILE_CACHE_MISS_COUNT = "mobFileCacheMissCount"; 454 String MOB_FILE_CACHE_MISS_COUNT_DESC = "The count of misses to the mob file cache"; 455 String MOB_FILE_CACHE_HIT_PERCENT = "mobFileCacheHitPercent"; 456 String MOB_FILE_CACHE_HIT_PERCENT_DESC = "The hit percent to the mob file cache"; 457 String MOB_FILE_CACHE_EVICTED_COUNT = "mobFileCacheEvictedCount"; 458 String MOB_FILE_CACHE_EVICTED_COUNT_DESC = "The number of items evicted from the mob file cache"; 459 String MOB_FILE_CACHE_COUNT = "mobFileCacheCount"; 460 String MOB_FILE_CACHE_COUNT_DESC = "The count of cached mob files"; 461 462 String HEDGED_READS = "hedgedReads"; 463 String HEDGED_READS_DESC = "The number of times we started a hedged read"; 464 String HEDGED_READ_WINS = "hedgedReadWins"; 465 String HEDGED_READ_WINS_DESC = 466 "The number of times we started a hedged read and a hedged read won"; 467 468 String BLOCKED_REQUESTS_COUNT = "blockedRequestCount"; 469 String BLOCKED_REQUESTS_COUNT_DESC = "The number of blocked requests because of memstore size is " 470 + "larger than blockingMemStoreSize"; 471 472 String SPLIT_KEY = "splitTime"; 473 String SPLIT_REQUEST_KEY = "splitRequestCount"; 474 String SPLIT_REQUEST_DESC = "Number of splits requested"; 475 String SPLIT_SUCCESS_KEY = "splitSuccessCount"; 476 String SPLIT_SUCCESS_DESC = "Number of successfully executed splits"; 477 478 String FLUSH_TIME = "flushTime"; 479 String FLUSH_TIME_DESC = "Histogram for the time in millis for memstore flush"; 480 String FLUSH_MEMSTORE_SIZE = "flushMemstoreSize"; 481 String FLUSH_MEMSTORE_SIZE_DESC = "Histogram for number of bytes in the memstore for a flush"; 482 String FLUSH_OUTPUT_SIZE = "flushOutputSize"; 483 String FLUSH_OUTPUT_SIZE_DESC = "Histogram for number of bytes in the resulting file for a flush"; 484 String FLUSHED_OUTPUT_BYTES = "flushedOutputBytes"; 485 String FLUSHED_OUTPUT_BYTES_DESC = "Total number of bytes written from flush"; 486 String FLUSHED_MEMSTORE_BYTES = "flushedMemstoreBytes"; 487 String FLUSHED_MEMSTORE_BYTES_DESC = "Total number of bytes of cells in memstore from flush"; 488 489 String COMPACTION_TIME = "compactionTime"; 490 String COMPACTION_TIME_DESC 491 = "Histogram for the time in millis for compaction, both major and minor"; 492 String COMPACTION_INPUT_FILE_COUNT = "compactionInputFileCount"; 493 String COMPACTION_INPUT_FILE_COUNT_DESC 494 = "Histogram for the compaction input number of files, both major and minor"; 495 String COMPACTION_INPUT_SIZE = "compactionInputSize"; 496 String COMPACTION_INPUT_SIZE_DESC 497 = "Histogram for the compaction total input file sizes, both major and minor"; 498 String COMPACTION_OUTPUT_FILE_COUNT = "compactionOutputFileCount"; 499 String COMPACTION_OUTPUT_FILE_COUNT_DESC 500 = "Histogram for the compaction output number of files, both major and minor"; 501 String COMPACTION_OUTPUT_SIZE = "compactionOutputSize"; 502 String COMPACTION_OUTPUT_SIZE_DESC 503 = "Histogram for the compaction total output file sizes, both major and minor"; 504 String COMPACTED_INPUT_BYTES = "compactedInputBytes"; 505 String COMPACTED_INPUT_BYTES_DESC 506 = "Total number of bytes that is read for compaction, both major and minor"; 507 String COMPACTED_OUTPUT_BYTES = "compactedOutputBytes"; 508 String COMPACTED_OUTPUT_BYTES_DESC 509 = "Total number of bytes that is output from compaction, both major and minor"; 510 511 String MAJOR_COMPACTION_TIME = "majorCompactionTime"; 512 String MAJOR_COMPACTION_TIME_DESC 513 = "Histogram for the time in millis for compaction, major only"; 514 String MAJOR_COMPACTION_INPUT_FILE_COUNT = "majorCompactionInputFileCount"; 515 String MAJOR_COMPACTION_INPUT_FILE_COUNT_DESC 516 = "Histogram for the compaction input number of files, major only"; 517 String MAJOR_COMPACTION_INPUT_SIZE = "majorCompactionInputSize"; 518 String MAJOR_COMPACTION_INPUT_SIZE_DESC 519 = "Histogram for the compaction total input file sizes, major only"; 520 String MAJOR_COMPACTION_OUTPUT_FILE_COUNT = "majorCompactionOutputFileCount"; 521 String MAJOR_COMPACTION_OUTPUT_FILE_COUNT_DESC 522 = "Histogram for the compaction output number of files, major only"; 523 String MAJOR_COMPACTION_OUTPUT_SIZE = "majorCompactionOutputSize"; 524 String MAJOR_COMPACTION_OUTPUT_SIZE_DESC 525 = "Histogram for the compaction total output file sizes, major only"; 526 String MAJOR_COMPACTED_INPUT_BYTES = "majorCompactedInputBytes"; 527 String MAJOR_COMPACTED_INPUT_BYTES_DESC 528 = "Total number of bytes that is read for compaction, major only"; 529 String MAJOR_COMPACTED_OUTPUT_BYTES = "majorCompactedOutputBytes"; 530 String MAJOR_COMPACTED_OUTPUT_BYTES_DESC 531 = "Total number of bytes that is output from compaction, major only"; 532 533 String RPC_GET_REQUEST_COUNT = "rpcGetRequestCount"; 534 String RPC_GET_REQUEST_COUNT_DESC = "Number of rpc get requests this RegionServer has answered."; 535 String RPC_SCAN_REQUEST_COUNT = "rpcScanRequestCount"; 536 String RPC_SCAN_REQUEST_COUNT_DESC = 537 "Number of rpc scan requests this RegionServer has answered."; 538 String RPC_MULTI_REQUEST_COUNT = "rpcMultiRequestCount"; 539 String RPC_MULTI_REQUEST_COUNT_DESC = 540 "Number of rpc multi requests this RegionServer has answered."; 541 String RPC_MUTATE_REQUEST_COUNT = "rpcMutateRequestCount"; 542 String RPC_MUTATE_REQUEST_COUNT_DESC = 543 "Number of rpc mutation requests this RegionServer has answered."; 544 String AVERAGE_REGION_SIZE = "averageRegionSize"; 545 String AVERAGE_REGION_SIZE_DESC = 546 "Average region size over the RegionServer including memstore and storefile sizes."; 547}