Package org.nuxeo.runtime.stream
Class StreamMetricsNuxeoReporter
java.lang.Object
org.nuxeo.runtime.metrics.AbstractMetricsReporter
org.nuxeo.runtime.stream.StreamMetricsNuxeoReporter
- All Implemented Interfaces:
MetricsReporter
A Specialized Nuxeo Metrics Reporter that sends only Nuxeo Stream metrics into a Stream.
- Since:
- 11.5
-
Field Summary
Modifier and TypeFieldDescriptionprotected io.dropwizard.metrics5.ScheduledReporter
protected static final io.dropwizard.metrics5.MetricFilter
Fields 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, options, pollInterval, SAMPLER_PROB_OPTION, SERVICE_OPTION, TIMEOUT_OPTION, URL_OPTION
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.runtime.metrics.AbstractMetricsReporter
enableTracing, getCurrentHostname, getHostnameFromNuxeoUrl, getOption, getOptionAsBoolean, getOptionAsInt, getPollInterval, init, requireOption, requireOption
-
Field Details
-
reporter
protected io.dropwizard.metrics5.ScheduledReporter reporter -
STREAM_METRICS_FILTER
protected static final io.dropwizard.metrics5.MetricFilter STREAM_METRICS_FILTER
-
-
Constructor Details
-
StreamMetricsNuxeoReporter
public StreamMetricsNuxeoReporter()
-
-
Method Details
-
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. -
stop
public void stop()Description copied from interface:MetricsReporter
Stops metrics reporter.
-