-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Description
#45404 has just happened for me in a local build:
io.micrometer.core.instrument.search.MeterNotFoundException: Unable to find a meter that matches all the requirements at once. Here's what was found:
FAIL: No meter with name 'http.server.requests' was found.
FAIL: No meters with type timer were found.
FAIL: No meters have the required tag 'uri'.
at app//io.micrometer.core.instrument.search.MeterNotFoundException$FromRequiredSearch.build(MeterNotFoundException.java:242)
at app//io.micrometer.core.instrument.search.MeterNotFoundException$FromRequiredSearch.access$100(MeterNotFoundException.java:49)
at app//io.micrometer.core.instrument.search.MeterNotFoundException.forSearch(MeterNotFoundException.java:46)
at app//io.micrometer.core.instrument.search.RequiredSearch.lambda$getOne$1(RequiredSearch.java:197)
at java.base@25.0.1/java.util.Optional.orElseThrow(Optional.java:403)
at app//io.micrometer.core.instrument.search.RequiredSearch.getOne(RequiredSearch.java:197)
at app//io.micrometer.core.instrument.search.RequiredSearch.timer(RequiredSearch.java:118)
at app//org.springframework.boot.jersey.autoconfigure.metrics.JerseyServerMetricsAutoConfigurationTests.lambda$httpRequestsAreTimed$0(JerseyServerMetricsAutoConfigurationTests.java:88)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.accept(AbstractApplicationContextRunner.java:457)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.consumeAssertableContext(AbstractApplicationContextRunner.java:371)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.lambda$run$1(AbstractApplicationContextRunner.java:349)
at app//org.springframework.boot.test.util.TestPropertyValues.lambda$applyToSystemProperties$0(TestPropertyValues.java:177)
at app//org.springframework.boot.test.util.TestPropertyValues.applyToSystemProperties(TestPropertyValues.java:191)
at app//org.springframework.boot.test.util.TestPropertyValues.applyToSystemProperties(TestPropertyValues.java:176)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.lambda$run$0(AbstractApplicationContextRunner.java:349)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.withContextClassLoader(AbstractApplicationContextRunner.java:377)
at app//org.springframework.boot.test.context.runner.AbstractApplicationContextRunner.run(AbstractApplicationContextRunner.java:348)
at app//org.springframework.boot.jersey.autoconfigure.metrics.JerseyServerMetricsAutoConfigurationTests.httpRequestsAreTimed(JerseyServerMetricsAutoConfigurationTests.java:85)
Looking at Develocity, it's also been flaky on CI:

Metadata
Metadata
Assignees
Labels
type: taskA general taskA general task