Closed jonatan-ivanov closed 1 month ago
@jonatan-ivanov can you re-create this issue in this repo please ? https://github.com/vert-x3/vertx-micrometer-metrics/issues/202
@vietj Of course: https://github.com/vert-x3/vertx-micrometer-metrics/issues/224
Micrometer's
MeterRegistry
should be "configured" (seeMeterRegistry.Config
) before registeringMeter
instances to it. For exampleMeterFilter
s should be configured before aMeter
has been registered to the registry.Historically, Micrometer has allowed configuring
MeterFilter
s after meters have been registered but due to certain performance optimizations with https://github.com/micrometer-metrics/micrometer/pull/4917 we took a step toward warning users about this situation.See:
It seems in certain cases Vert.x configures a
MeterFilter
after aMeter
has been registered to the registry causing the warning mentioned above. See https://github.com/micrometer-metrics/micrometer/issues/4920#issuecomment-2125854418 by @sanyarnd with a reproducer.@sanyarnd could you please provide the Vert.x version you are using and any additional details you have?