Package | Description |
---|---|
com.espertech.esper.metrics.codahale_metrics.metrics |
Metrics (Codahale).
|
com.espertech.esper.metrics.codahale_metrics.metrics.reporting |
Metrics reporting (Codehale).
|
Modifier and Type | Method and Description |
---|---|
static MetricsRegistry |
Metrics.defaultRegistry()
Returns the (static) default registry.
|
Modifier and Type | Method and Description |
---|---|
protected MetricsRegistry |
AbstractReporter.getMetricsRegistry()
Returns the reporter's
MetricsRegistry . |
Modifier and Type | Method and Description |
---|---|
static void |
CsvReporter.enable(MetricsRegistry metricsRegistry,
java.io.File outputDir,
long period,
java.util.concurrent.TimeUnit unit)
Enables the CSV reporter for the given metrics registry, and causes it to write to files in
outputDir with the specified period. |
static void |
ConsoleReporter.enable(MetricsRegistry metricsRegistry,
long period,
java.util.concurrent.TimeUnit unit)
Enables the console reporter for the given metrics registry, and causes it to print to STDOUT
with the specified period and unrestricted output.
|
static void |
JmxReporter.startDefault(MetricsRegistry registry)
Starts the default instance of
JmxReporter . |
Constructor and Description |
---|
AbstractPollingReporter(MetricsRegistry registry,
java.lang.String name)
Creates a new
AbstractPollingReporter instance. |
AbstractReporter(MetricsRegistry registry)
Creates a new
AbstractReporter instance. |
ConsoleReporter(MetricsRegistry metricsRegistry,
java.io.PrintStream out,
MetricPredicate predicate)
Creates a new
ConsoleReporter for a given metrics registry. |
ConsoleReporter(MetricsRegistry metricsRegistry,
java.io.PrintStream out,
MetricPredicate predicate,
Clock clock,
java.util.TimeZone timeZone)
Creates a new
ConsoleReporter for a given metrics registry. |
ConsoleReporter(MetricsRegistry metricsRegistry,
java.io.PrintStream out,
MetricPredicate predicate,
Clock clock,
java.util.TimeZone timeZone,
java.util.Locale locale)
Creates a new
ConsoleReporter for a given metrics registry. |
CsvReporter(MetricsRegistry metricsRegistry,
java.io.File outputDir)
Creates a new
CsvReporter which will write all metrics from the given
MetricsRegistry to CSV files in the given output directory. |
CsvReporter(MetricsRegistry metricsRegistry,
MetricPredicate predicate,
java.io.File outputDir)
Creates a new
CsvReporter which will write metrics from the given
MetricsRegistry which match the given MetricPredicate to CSV files in the
given output directory. |
CsvReporter(MetricsRegistry metricsRegistry,
MetricPredicate predicate,
java.io.File outputDir,
Clock clock)
Creates a new
CsvReporter which will write metrics from the given
MetricsRegistry which match the given MetricPredicate to CSV files in the
given output directory. |
JmxReporter(MetricsRegistry registry)
Creates a new
JmxReporter for the given registry. |