I am using the `MicrometerMetrics` plugin with a K...
# ktor
f
I am using the
MicrometerMetrics
plugin with a Ktor server, and have encountered a warning which started to appear in micrometrics release 1.13.0, indicating a potential configuration order issue. The warning states:
Copy code
"A MeterFilter is being configured after a Meter has been registered to this registry. All MeterFilters should be configured before any Meters are registered. If that is not possible or you have a use case where it should be allowed, let the Micrometer maintainers know at #4920."
It appears that some meters may be registered before all intended MeterFilters are applied, possibly due to the execution order within the plugin itself. See more in the issue thread: https://github.com/micrometer-metrics/micrometer/issues/4920
a
👍 1
h
I think that's because ktor installs the gauge before the filter, looking forward for this to be resolved