Class DynatraceReporter
java.lang.Object
org.nuxeo.runtime.metrics.AbstractMetricsReporter
org.nuxeo.runtime.metrics.reporter.DynatraceReporter
- All Implemented Interfaces:
MetricsReporter
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final intprotected static final Stringprotected Stringprotected NuxeoDynatraceReporterFields inherited from class org.nuxeo.runtime.metrics.AbstractMetricsReporter
DEFAULT_MAX_ANNOTATIONS, DEFAULT_MAX_ATTRIBUTES, DEFAULT_SAMPLER_PROB, DEFAULT_SERVICE, DEFAULT_TIMEOUT, MAX_ANNOTATIONS_OPTION, MAX_ATTRIBUTES_OPTION, NUXEO_URL_PROP, options, pollInterval, SAMPLER_PROB_OPTION, SERVICE_OPTION, TIMEOUT_OPTION, URL_OPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringvoidCalled on new instance.parseDimensions(String dimensionsStr) voidstart(io.dropwizard.metrics5.MetricRegistry registry, io.dropwizard.metrics5.MetricFilter filter, Set<io.dropwizard.metrics5.MetricAttribute> deniedExpansions) Starts metrics reporter.voidstop()Stops metrics reporter.Methods inherited from class org.nuxeo.runtime.metrics.AbstractMetricsReporter
enableTracing, getCurrentHostname, getHostnameFromNuxeoUrl, getOption, getOptionAsBoolean, getOptionAsInt, getPollInterval, requireOption, requireOption
-
Field Details
-
DEFAULT_HOST
- See Also:
-
DEFAULT_PORT
protected static final int DEFAULT_PORT- See Also:
-
DEFAULT_PREFIX
- See Also:
-
reporter
-
hostname
-
-
Constructor Details
-
DynatraceReporter
public DynatraceReporter()
-
-
Method Details
-
init
Description copied from interface:MetricsReporterCalled on new instance.- Specified by:
initin interfaceMetricsReporter- Overrides:
initin classAbstractMetricsReporter
-
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:MetricsReporterStarts metrics reporter. -
parseDimensions
-
stop
public void stop()Description copied from interface:MetricsReporterStops metrics reporter.
-