Uses of Class
io.dropwizard.metrics5.Slf4jReporter.Builder
-
Uses of Slf4jReporter.Builder in io.dropwizard.metrics5
Methods in io.dropwizard.metrics5 that return Slf4jReporter.BuilderModifier and TypeMethodDescriptionSlf4jReporter.Builder.convertDurationsTo
(TimeUnit durationUnit) Convert durations to the given time unit.Slf4jReporter.Builder.convertRatesTo
(TimeUnit rateUnit) Convert rates to the given time unit.Slf4jReporter.Builder.disabledMetricAttributes
(Set<MetricAttribute> disabledMetricAttributes) Don't report the passed metric attributes for all metrics (e.g.Slf4jReporter.Builder.filter
(MetricFilter filter) Only report metrics which match the given filter.static Slf4jReporter.Builder
Slf4jReporter.forRegistry
(MetricRegistry registry) Returns a newSlf4jReporter.Builder
forSlf4jReporter
.Slf4jReporter.Builder.markWith
(org.slf4j.Marker marker) Mark all logged metrics with the given marker.Slf4jReporter.Builder.outputTo
(org.slf4j.Logger logger) Log metrics to the given logger.Slf4jReporter.Builder.prefixedWith
(String prefix) Prefix all metric names with the given string.Slf4jReporter.Builder.scheduleOn
(ScheduledExecutorService executor) Specifies the executor to use while scheduling reporting of metrics.Slf4jReporter.Builder.shutdownExecutorOnStop
(boolean shutdownExecutorOnStop) Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.Slf4jReporter.Builder.withLoggingLevel
(Slf4jReporter.LoggingLevel loggingLevel) Use Logging Level when reporting.