I would like to limit metrics
http.server.requests.seconds to a single method and uri.
Currently, I can see that all URIs are being metered (eg. /actuator/health)
Is this possible?
I would like to limit metrics
http.server.requests.seconds to a single method and uri.
Currently, I can see that all URIs are being metered (eg. /actuator/health)
Is this possible?
I registered MeterRegistryCustomizer bean and called meterFilter:
...
.meterFilter(MeterFilter.deny { id ->
val uri = id.getTag("uri")
uri != null && uri.startsWith("/actuator")
})