class Configuration
Configures this Feature
Configuration()
Configures this Feature |
var baseName: String
The base prefix for metrics. Default: Feature.defaultBaseName |
|
var distinctNotRegisteredRoutes: Boolean
specifies if requests for non existent routes should
contain request path or fallback to common |
|
var distributionStatisticConfig: DistributionStatisticConfig
configures the histogram and/or percentiles for all request timers. By default 50%, 90% , 95% and 99% percentiles are configured. If your backend supports server side histograms you should enable these instead with DistributionStatisticConfig.Builder.percentilesHistogram as client side percentiles cannot be aggregated. |
|
var meterBinders: List<MeterBinder>
The binders that are automatically bound to the registry. Default: ClassLoaderMetrics, JvmMemoryMetrics, ProcessorMetrics, JvmGcMetrics, ProcessorMetrics, JvmThreadMetrics, FileDescriptorMetrics |
|
lateinit var registry: MeterRegistry
The meter registry where the meters are registered. Mandatory |
fun timers(block: Builder.(ApplicationCall, Throwable?) -> Unit): Unit
Configure micrometer timers |