public class ConsoleReporterFactory extends BaseFormattedReporterFactory
ConsoleReporter instances.
Configuration Parameters:
| Name | Default | Description |
| timeZone | UTC | The timezone to display dates/times for. |
| output | stdout | The stream to write to. One of stdout or stderr. |
See BaseFormattedReporterFactory for more options. |
||
See BaseReporterFactory for more options. |
||
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsoleReporterFactory.ConsoleStream |
| Constructor and Description |
|---|
ConsoleReporterFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.ScheduledReporter |
build(com.codahale.metrics.MetricRegistry registry)
Configures and builds a
ScheduledReporter instance for the given registry. |
ConsoleReporterFactory.ConsoleStream |
getOutput() |
TimeZone |
getTimeZone() |
void |
setOutput(ConsoleReporterFactory.ConsoleStream stream) |
void |
setTimeZone(TimeZone timeZone) |
getLocale, setLocalegetDurationUnit, getExcludes, getFilter, getFrequency, getIncludes, getRateUnit, getUseRegexFilters, setDurationUnit, setExcludes, setFrequency, setIncludes, setRateUnit, setUseRegexFilterspublic TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public ConsoleReporterFactory.ConsoleStream getOutput()
public void setOutput(ConsoleReporterFactory.ConsoleStream stream)
public com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
ReporterFactoryScheduledReporter instance for the given registry.registry - the metrics registry to report metrics from.Copyright © 2016. All rights reserved.