Hi all, I'm trying to use MicrometerMetrics with ...
# ktor
m
Hi all, I'm trying to use MicrometerMetrics with Ktor and I have this config:
Copy code
install(MicrometerMetrics) {
        registry = Metrics.getRegistry()
        meterBinders = listOf(
            JvmMemoryMetrics(),
            JvmGcMetrics(),
            ProcessorMetrics(),
            HttpServerMetrics(),
            HttpClientMetrics()
        )
        distributionStatisticConfig = DistributionStatisticConfig.Builder()
        .percentilesHistogram(true)
        .maximumExpectedValue(Duration.ofSeconds(20).toNanos().toDouble())
        .serviceLevelObjectives(
            Duration.ofMillis(100).toNanos().toDouble(),
            Duration.ofMillis(500).toNanos().toDouble()
        )
        .build()
    }
But HttpServerMetrics() and HttpClientMetrics() are not available (which I saw in an example) in the library. How do I get data about incoming requests (successful, bad and total) with amount of requests?