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
  • 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 class io.dropwizard.metrics5.ScheduledReporter
    • getTags

      protected List<String> getTags(Map<String,String> metricTags)
    • forRegistry

      public static NuxeoDatadogReporter.Builder forRegistry(io.dropwizard.metrics5.MetricRegistry registry)