Class NuxeoDatadogReporter
java.lang.Object
io.dropwizard.metrics5.ScheduledReporter
org.nuxeo.runtime.metrics.reporter.patch.NuxeoDatadogReporter
- All Implemented Interfaces:
io.dropwizard.metrics5.Reporter
,Closeable
,AutoCloseable
public class NuxeoDatadogReporter
extends io.dropwizard.metrics5.ScheduledReporter
A copy of Coursera DatadogReporter with minor adaptation to handle metric with tags.
- Since:
- 11.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionstatic NuxeoDatadogReporter.Builder
forRegistry
(io.dropwizard.metrics5.MetricRegistry registry) void
report
(SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Gauge> gauges, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Counter> counters, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Histogram> histograms, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Meter> meters, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Timer> timers) Methods inherited from class io.dropwizard.metrics5.ScheduledReporter
close, convertDuration, convertRate, getDisabledMetricAttributes, getDurationUnit, getRateUnit, isShutdownExecutorOnStop, report, start, start, stop
-
Method Details
-
report
public void report(SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Gauge> gauges, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Counter> counters, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Histogram> histograms, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Meter> meters, SortedMap<io.dropwizard.metrics5.MetricName, io.dropwizard.metrics5.Timer> timers) - Specified by:
report
in classio.dropwizard.metrics5.ScheduledReporter
-
getTags
-
forRegistry
public static NuxeoDatadogReporter.Builder forRegistry(io.dropwizard.metrics5.MetricRegistry registry)
-