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, getDurationUnit, getRateUnit, report, start, stop
public static ConsoleReporter.Builder forRegistry(MetricRegistry registry)
ConsoleReporter.Builder
for ConsoleReporter
.registry
- the registry to reportConsoleReporter.Builder
instance for a ConsoleReporter
public void report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)
ScheduledReporter
report
in class ScheduledReporter
gauges
- 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 © 2014. All Rights Reserved.