public class Monitor
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addLog(ExternalLog log)
add the log to the monitoring system if the log is sampled
|
static void |
enable()
Enable Monitor will fetch the sampling rates from the server and send the logs from
MonitorLoggingStore
|
static boolean |
isEnabled() |
static void |
loadSamplingRatesMapAsync()
fetch the sampling rates from the server and update SamplingRatesMap
|
public static void enable()
public static void loadSamplingRatesMapAsync()
public static void addLog(ExternalLog log)
log - which will be sent back to the serverpublic static boolean isEnabled()