public class GraphiteReporter extends ScheduledReporter
| Modifier and Type | Class and Description |
|---|---|
static class |
GraphiteReporter.Builder
A builder for
GraphiteReporter instances. |
| Modifier and Type | Method and Description |
|---|---|
static GraphiteReporter.Builder |
forRegistry(MetricRegistry registry)
Returns a new
GraphiteReporter.Builder for GraphiteReporter. |
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.
|
void |
stop()
Stops the reporter and shuts down its thread of execution.
|
close, convertDuration, convertRate, getDurationUnit, getRateUnit, report, startpublic static GraphiteReporter.Builder forRegistry(MetricRegistry registry)
GraphiteReporter.Builder for GraphiteReporter.registry - the registry to reportGraphiteReporter.Builder instance for a GraphiteReporterpublic 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 registrypublic void stop()
ScheduledReporterstop in class ScheduledReporterCopyright © 2022. All rights reserved.