Package | Description |
---|---|
ratpack.dropwizard.metrics |
Integration with Dropwizard Metrics Library.
|
Modifier and Type | Method and Description |
---|---|
Slf4jConfig |
Slf4jConfig.durationUnit(java.util.concurrent.TimeUnit durationUnit)
Convert durations to the given time unit.
|
Slf4jConfig |
Slf4jConfig.enable(boolean enabled)
Set the state of the Slf4j publisher.
|
Slf4jConfig |
Slf4jConfig.logger(org.slf4j.Logger logger)
Log metrics to the given logger.
|
Slf4jConfig |
Slf4jConfig.logLevel(com.codahale.metrics.Slf4jReporter.LoggingLevel logLevel)
Use Logging Level when reporting.
|
Slf4jConfig |
Slf4jConfig.marker(org.slf4j.Marker marker)
Mark all logged metrics with the given marker.
|
Slf4jConfig |
Slf4jConfig.prefix(java.lang.String prefix)
Prefix all metric names with the given string.
|
Slf4jConfig |
Slf4jConfig.rateUnit(java.util.concurrent.TimeUnit rateUnit)
Convert rates to the given time unit.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Slf4jConfig> |
DropwizardMetricsConfig.getSlf4j()
Get the settings for the Slf4j Logger metrics publisher.
|
Modifier and Type | Method and Description |
---|---|
DropwizardMetricsConfig |
DropwizardMetricsConfig.slf4j(Action<? super Slf4jConfig> configure)
Configure the Slf4j logger metrics publisher.
|