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<io.dropwizard.util.Duration> |
getFrequency()
Returns the frequency for reporting metrics.
|
Optional<io.dropwizard.util.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 © 2017. All rights reserved.