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(java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers)
Called periodically by the polling thread.
|
public static ConsoleReporter.Builder forRegistry(MetricRegistry registry)
ConsoleReporter.Builder
for ConsoleReporter
.registry
- the registry to reportConsoleReporter.Builder
instance for a ConsoleReporter
public void report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.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 registry"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"