org.apache.accumulo.monitor
Class Monitor

java.lang.Object
  extended by org.apache.accumulo.monitor.Monitor

public class Monitor
extends Object

Serve master statistics with an embedded web server.


Nested Class Summary
static class Monitor.ScanStats
           
 
Constructor Summary
Monitor()
           
 
Method Summary
static void fetchData()
           
protected static void fetchScans()
           
static List<Pair<Long,Double>> getDataCacheHitRateOverTime()
           
static GCStatus getGcStatus()
           
static List<Pair<Long,Double>> getIndexCacheHitRateOverTime()
           
static List<Pair<Long,Double>> getIngestByteRateOverTime()
           
static List<Pair<Long,Double>> getIngestRateOverTime()
           
static Instance getInstance()
           
static List<Pair<Long,Double>> getLoadOverTime()
           
static double getLookupRate()
           
static List<Pair<Long,Double>> getLookupsOverTime()
           
static List<Pair<Long,Integer>> getMajorCompactionsOverTime()
           
static List<Pair<Long,Integer>> getMinorCompactionsOverTime()
           
static MasterMonitorInfo getMmi()
           
static int getOnlineTabletCount()
           
static Exception getProblemException()
           
static Map<String,Map<ProblemType,Integer>> getProblemSummary()
           
static List<Pair<Long,Double>> getQueryByteRateOverTime()
           
static List<Pair<Long,Integer>> getQueryRateOverTime()
           
static List<Pair<Long,Integer>> getRecoveriesOverTime()
           
static List<Pair<Long,Integer>> getScanRateOverTime()
           
static Map<String,Monitor.ScanStats> getScans()
           
static long getStartTime()
           
static AccumuloConfiguration getSystemConfiguration()
           
static long getTotalEntries()
           
static long getTotalHoldTime()
           
static double getTotalIngestByteRate()
           
static double getTotalIngestRate()
           
static long getTotalLookups()
           
static double getTotalQueryByteRate()
           
static double getTotalQueryRate()
           
static double getTotalScanRate()
           
static int getTotalTables()
           
static int getTotalTabletCount()
           
static boolean isUsingSsl()
           
static void main(String[] args)
           
 void run(String hostname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Monitor

public Monitor()
Method Detail

fetchData

public static void fetchData()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

run

public void run(String hostname)

getScans

public static Map<String,Monitor.ScanStats> getScans()

fetchScans

protected static void fetchScans()
                          throws Exception
Throws:
Exception

getMmi

public static MasterMonitorInfo getMmi()

getTotalTables

public static int getTotalTables()

getTotalTabletCount

public static int getTotalTabletCount()

getOnlineTabletCount

public static int getOnlineTabletCount()

getTotalEntries

public static long getTotalEntries()

getTotalIngestRate

public static double getTotalIngestRate()

getTotalIngestByteRate

public static double getTotalIngestByteRate()

getTotalQueryRate

public static double getTotalQueryRate()

getTotalScanRate

public static double getTotalScanRate()

getTotalQueryByteRate

public static double getTotalQueryByteRate()

getTotalHoldTime

public static long getTotalHoldTime()

getProblemException

public static Exception getProblemException()

getProblemSummary

public static Map<String,Map<ProblemType,Integer>> getProblemSummary()

getGcStatus

public static GCStatus getGcStatus()

getTotalLookups

public static long getTotalLookups()

getStartTime

public static long getStartTime()

getLoadOverTime

public static List<Pair<Long,Double>> getLoadOverTime()

getIngestRateOverTime

public static List<Pair<Long,Double>> getIngestRateOverTime()

getIngestByteRateOverTime

public static List<Pair<Long,Double>> getIngestByteRateOverTime()

getRecoveriesOverTime

public static List<Pair<Long,Integer>> getRecoveriesOverTime()

getMinorCompactionsOverTime

public static List<Pair<Long,Integer>> getMinorCompactionsOverTime()

getMajorCompactionsOverTime

public static List<Pair<Long,Integer>> getMajorCompactionsOverTime()

getLookupsOverTime

public static List<Pair<Long,Double>> getLookupsOverTime()

getLookupRate

public static double getLookupRate()

getQueryRateOverTime

public static List<Pair<Long,Integer>> getQueryRateOverTime()

getScanRateOverTime

public static List<Pair<Long,Integer>> getScanRateOverTime()

getQueryByteRateOverTime

public static List<Pair<Long,Double>> getQueryByteRateOverTime()

getIndexCacheHitRateOverTime

public static List<Pair<Long,Double>> getIndexCacheHitRateOverTime()

getDataCacheHitRateOverTime

public static List<Pair<Long,Double>> getDataCacheHitRateOverTime()

getSystemConfiguration

public static AccumuloConfiguration getSystemConfiguration()

getInstance

public static Instance getInstance()

isUsingSsl

public static boolean isUsingSsl()


Copyright © 2015 Apache Accumulo Project. All rights reserved.