public class CsvReporter extends ScheduledReporter
Modifier and Type | Class and Description |
---|---|
static class |
CsvReporter.Builder
A builder for
CsvReporter instances. |
Modifier and Type | Method and Description |
---|---|
static CsvReporter.Builder |
forRegistry(MetricRegistry registry)
Returns a new
CsvReporter.Builder for CsvReporter . |
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.
|
protected String |
sanitize(String name) |
close, convertDuration, convertRate, getDisabledMetricAttributes, getDurationUnit, getRateUnit, isShutdownExecutorOnStop, report, start, start, stop
public static CsvReporter.Builder forRegistry(MetricRegistry registry)
CsvReporter.Builder
for CsvReporter
.registry
- the registry to reportCsvReporter.Builder
instance for a CsvReporter
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 © 2011. All rights reserved.