MicrometerMetricsConfig
A configuration for the MicrometerMetrics plugin.
Properties
Specifies if requests for non-existent routes should contain a request path or fallback to common n/a
value. true
by default.
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.
Allows you to configure a set of metrics for monitoring the JVM. To disable these metrics, assign an empty list to meterBinders:
Specifies the base name (prefix) of Ktor metrics used for monitoring HTTP requests. For example, the default "ktor.http.server.requests" values results in the following metrics: