Class TabletServerMetricsUtil


  • public class TabletServerMetricsUtil
    extends Object
    Wrapper around extracting metrics from a TabletServer instance Necessary to support both old custom JMX metrics and Hadoop Metrics2
    • Constructor Detail

      • TabletServerMetricsUtil

        public TabletServerMetricsUtil​(TabletServer tserver)
    • Method Detail

      • getEntries

        public long getEntries()
      • getEntriesInMemory

        public long getEntriesInMemory()
      • getIngest

        public double getIngest()
      • getIngestByteRate

        public double getIngestByteRate()
      • getQueryRate

        public double getQueryRate()
      • getQueryByteRate

        public double getQueryByteRate()
      • getScannedRate

        public double getScannedRate()
      • getMajorCompactions

        public int getMajorCompactions()
      • getMajorCompactionsQueued

        public int getMajorCompactionsQueued()
      • getMinorCompactions

        public int getMinorCompactions()
      • getMinorCompactionsQueued

        public int getMinorCompactionsQueued()
      • getOnlineCount

        public int getOnlineCount()
      • getOpeningCount

        public int getOpeningCount()
      • getQueries

        public long getQueries()
      • getUnopenedCount

        public int getUnopenedCount()
      • getName

        public String getName()
      • getTotalMinorCompactions

        public long getTotalMinorCompactions()
      • getHoldTime

        public double getHoldTime()
      • getAverageFilesPerTablet

        public double getAverageFilesPerTablet()