You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update `MeterRegistryConfigurer` to also apply customizers to
composite meter registries. Prior to this commit composites were
skipped due to the incorrect assumption that did not contain
their own state.
Closesgh-12762
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterRegistryConfigurer.java
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,6 @@ class MeterRegistryConfigurer {
59
59
}
60
60
61
61
voidconfigure(MeterRegistryregistry) {
62
-
if (registryinstanceofCompositeMeterRegistry) {
63
-
return;
64
-
}
65
62
// Customizers must be applied before binders, as they may add custom
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterRegistryConfigurerTests.java
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/MeterRegistryCustomizerTests.java
0 commit comments