public interface ReporterFactory extends Discoverable
reporters
.
To create your own, just:
ReporterFactory
.@JsonTypeName
and give it a unique type name.META-INF/services/io.dropwizard.metrics.ReporterFactory
file with your implementation's full class name to the class path.Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.ScheduledReporter |
build(com.codahale.metrics.MetricRegistry registry)
Configures and builds a
ScheduledReporter instance for the given registry. |
Optional<Duration> |
getFrequency()
Returns the frequency for reporting metrics.
|
Optional<Duration> getFrequency()
com.codahale.metrics.ScheduledReporter build(com.codahale.metrics.MetricRegistry registry)
ScheduledReporter
instance for the given registry.registry
- the metrics registry to report metrics from.Copyright © 2019. All rights reserved.