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.ScheduledReporterA copy of Coursera DatadogReporter with minor adaptation to handle metric with tags.- Since:
- 11.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNuxeoDatadogReporter.Builderstatic classNuxeoDatadogReporter.Expansion
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NuxeoDatadogReporter.BuilderforRegistry(io.dropwizard.metrics5.MetricRegistry registry)protected List<String>getTags(Map<String,String> metricTags)voidreport(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)
-
-
-
Field Detail
-
log
protected static final Log log
-
-
Method Detail
-
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:
reportin classio.dropwizard.metrics5.ScheduledReporter
-
forRegistry
public static NuxeoDatadogReporter.Builder forRegistry(io.dropwizard.metrics5.MetricRegistry registry)
-
-