diff --git a/src/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerMetrics.java b/src/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerMetrics.java index 8838e89..7e43725 100644 --- a/src/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerMetrics.java +++ b/src/java/org/apache/hadoop/hbase/regionserver/metrics/RegionServerMetrics.java @@ -50,59 +50,59 @@ public class RegionServerMetrics implements Updater { private MetricsRegistry registry = new MetricsRegistry(); public final MetricsTimeVaryingRate atomicIncrementTime = - new MetricsTimeVaryingRate("hbase_atomicIncrementTime", registry); + new MetricsTimeVaryingRate("atomicIncrementTime", registry); /** * Count of regions carried by this regionserver */ - public final MetricsIntValue regions = new MetricsIntValue("hbase_regions", registry); + public final MetricsIntValue regions = new MetricsIntValue("regions", registry); /** * Block cache size. */ - public final MetricsLongValue blockCacheSize = new MetricsLongValue("hbase_blockCacheSize", registry); + public final MetricsLongValue blockCacheSize = new MetricsLongValue("blockCacheSize", registry); /** * Block cache free size. */ - public final MetricsLongValue blockCacheFree = new MetricsLongValue("hbase_blockCacheFree", registry); + public final MetricsLongValue blockCacheFree = new MetricsLongValue("blockCacheFree", registry); /** * Block cache item count. */ - public final MetricsLongValue blockCacheCount = new MetricsLongValue("hbase_blockCacheCount", registry); + public final MetricsLongValue blockCacheCount = new MetricsLongValue("blockCacheCount", registry); /** * Block hit ratio. */ - public final MetricsIntValue blockCacheHitRatio = new MetricsIntValue("hbase_blockCacheHitRatio", registry); + public final MetricsIntValue blockCacheHitRatio = new MetricsIntValue("blockCacheHitRatio", registry); /* * Count of requests to the regionservers since last call to metrics update */ - private final MetricsRate requests = new MetricsRate("hbase_requests"); + private final MetricsRate requests = new MetricsRate("requests"); /** * Count of stores open on the regionserver. */ - public final MetricsIntValue stores = new MetricsIntValue("hbase_stores", registry); + public final MetricsIntValue stores = new MetricsIntValue("stores", registry); /** * Count of storefiles open on the regionserver. */ - public final MetricsIntValue storefiles = new MetricsIntValue("hbase_storefiles", registry); + public final MetricsIntValue storefiles = new MetricsIntValue("storefiles", registry); /** * Sum of all the storefile index sizes in this regionserver in MB */ public final MetricsIntValue storefileIndexSizeMB = - new MetricsIntValue("hbase_storefileIndexSizeMB", registry); + new MetricsIntValue("storefileIndexSizeMB", registry); /** * Sum of all the memcache sizes in this regionserver in MB */ public final MetricsIntValue memcacheSizeMB = - new MetricsIntValue("hbase_memcacheSizeMB", registry); + new MetricsIntValue("memcacheSizeMB", registry); public RegionServerMetrics() { MetricsContext context = MetricsUtil.getContext("hbase");