public class GangliaReporter extends ScheduledReporter
Modifier and Type | Class and Description |
---|---|
static class |
GangliaReporter.Builder
A builder for
GangliaReporter instances. |
Modifier and Type | Method and Description |
---|---|
static GangliaReporter.Builder |
forRegistry(MetricRegistry registry)
Returns a new
GangliaReporter.Builder for GangliaReporter . |
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 GangliaReporter.Builder forRegistry(MetricRegistry registry)
GangliaReporter.Builder
for GangliaReporter
.registry
- the registry to reportGangliaReporter.Builder
instance for a GangliaReporter
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.