Class GraphiteReporter
java.lang.Object
org.nuxeo.runtime.metrics.AbstractMetricsReporter
org.nuxeo.runtime.metrics.reporter.GraphiteReporter
- All Implemented Interfaces:
MetricsReporter
Reports metrics to Graphite.
- Since:
- 11.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected InetSocketAddress
protected static final Integer
protected static final String
protected String
protected NuxeoGraphiteReporter
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
Modifier and TypeMethodDescriptionprotected String
void
Called on new instance.void
start
(io.dropwizard.metrics5.MetricRegistry registry, io.dropwizard.metrics5.MetricFilter filter, Set<io.dropwizard.metrics5.MetricAttribute> deniedExpansions) Starts metrics reporter.void
stop()
Stops metrics reporter.Methods inherited from class org.nuxeo.runtime.metrics.AbstractMetricsReporter
enableTracing, getCurrentHostname, getHostnameFromNuxeoUrl, getOption, getOptionAsBoolean, getOptionAsInt, getPollInterval, requireOption, requireOption
-
Field Details
-
DEFAULT_PORT
-
DEFAULT_PREFIX
- See Also:
-
address
-
reporter
-
prefix
-
-
Constructor Details
-
GraphiteReporter
public GraphiteReporter()
-
-
Method Details
-
init
Description copied from interface:MetricsReporter
Called on new instance.- Specified by:
init
in interfaceMetricsReporter
- Overrides:
init
in classAbstractMetricsReporter
-
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. -
getPrefix
-