public class ConsoleReporter extends ScheduledReporter
PrintStream, like System.out.| Modifier and Type | Class and Description |
|---|---|
static class |
ConsoleReporter.Builder
A builder for
ConsoleReporter instances. |
| Modifier and Type | Method and Description |
|---|---|
static ConsoleReporter.Builder |
forRegistry(MetricRegistry registry)
Returns a new
ConsoleReporter.Builder for ConsoleReporter. |
void |
report(SortedMap<String,Gauge> gauges,
SortedMap<String,Counter> counters,
SortedMap<String,Histogram> histograms,
SortedMap<String,Meter> meters,
SortedMap<String,Timer> timers)
Called periodically by the polling thread.
|
close, convertDuration, convertRate, getDisabledMetricAttributes, getDurationUnit, getRateUnit, isShutdownExecutorOnStop, report, start, start, stoppublic static ConsoleReporter.Builder forRegistry(MetricRegistry registry)
ConsoleReporter.Builder for ConsoleReporter.registry - the registry to reportConsoleReporter.Builder instance for a ConsoleReporterpublic void report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)
ScheduledReporterreport in class ScheduledReportergauges - all of the gauges in the registrycounters - all of the counters in the registryhistograms - all of the histograms in the registrymeters - all of the meters in the registrytimers - all of the timers in the registryCopyright © 2020. All rights reserved.