org.apache.accumulo.server.monitor
Class Monitor
java.lang.Object
org.apache.accumulo.server.monitor.Monitor
public class Monitor
- extends Object
Serve master statistics with an embedded web server.
Method Summary |
static void |
add(TableInfo total,
TableInfo more)
|
static void |
fetchData()
|
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 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)
|
static Map<String,Double> |
summarizeTableStats(MasterMonitorInfo mmi)
|
static TableInfo |
summarizeTableStats(TabletServerStatus status)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REFRESH_TIME
public static final int REFRESH_TIME
- See Also:
- Constant Field Values
Monitor
public Monitor()
summarizeTableStats
public static Map<String,Double> summarizeTableStats(MasterMonitorInfo mmi)
add
public static void add(TableInfo total,
TableInfo more)
summarizeTableStats
public static TableInfo summarizeTableStats(TabletServerStatus status)
fetchData
public static void fetchData()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
public void run(String hostname)
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 © 2013 Apache Accumulo Project. All Rights Reserved.