Class DynatraceReporter

java.lang.Object
org.nuxeo.runtime.metrics.AbstractMetricsReporter
org.nuxeo.runtime.metrics.reporter.DynatraceReporter
All Implemented Interfaces:
MetricsReporter

public class DynatraceReporter extends AbstractMetricsReporter
Reports metrics to Dynatrace via OneAgent's StatsD listener (UDP).

This reporter sends metrics locally over UDP to the Dynatrace OneAgent's embedded StatsD daemon. This approach is non-blocking and doesn't require authentication since communication is local only.

Since:
2025.15
  • Field Details

  • Constructor Details

    • DynatraceReporter

      public DynatraceReporter()
  • Method Details

    • init

      public void init(long pollInterval, Map<String,String> options)
      Description copied from interface: MetricsReporter
      Called on new instance.
      Specified by:
      init in interface MetricsReporter
      Overrides:
      init in class AbstractMetricsReporter
    • getHostname

      protected String getHostname()
    • start

      public void start(io.dropwizard.metrics5.MetricRegistry registry, io.dropwizard.metrics5.MetricFilter filter, Set<io.dropwizard.metrics5.MetricAttribute> deniedExpansions)
      Description copied from interface: MetricsReporter
      Starts metrics reporter.
    • parseDimensions

      protected Map<String,String> parseDimensions(String dimensionsStr)
    • stop

      public void stop()
      Description copied from interface: MetricsReporter
      Stops metrics reporter.