public final class Config
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.io.File |
getFileObserverDirectory()
Default directory for writing metrics files.
|
static java.lang.String |
getGraphiteObserverAddress()
Address for reporting to graphite.
|
static java.lang.String |
getGraphiteObserverPrefix()
Prefix to use when reporting data to graphite.
|
static long |
getPollInterval()
How frequently to poll metrics in seconds and report to observers.
|
static int |
getPort()
Port number for the http server to listen on.
|
static boolean |
isFileObserverEnabled()
Should we report metrics to the file observer? Default is true.
|
static boolean |
isGraphiteObserverEnabled()
Should we report metrics to graphite? Default is false.
|
static boolean |
isJvmPollerEnabled()
Should we poll the standard jvm mbeans? Default is true.
|
public static int getPort()
public static long getPollInterval()
public static boolean isFileObserverEnabled()
public static java.io.File getFileObserverDirectory()
public static boolean isGraphiteObserverEnabled()
public static java.lang.String getGraphiteObserverPrefix()
public static java.lang.String getGraphiteObserverAddress()
public static boolean isJvmPollerEnabled()