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
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
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,7 @@
30
30
/**
31
31
* Configurer to apply {@link MeterRegistryCustomizer customizers}, {@link MeterFilter
32
32
* filters}, {@link MeterBinder binders} and {@link Metrics#addRegistry global
33
-
* registration} to {@link MeterRegistry meter registries}. This configurer intentionally
34
-
* skips {@link CompositeMeterRegistry} with the assumptions that the registries it
35
-
* contains are beans and will be customized directly.
33
+
* registration} to {@link MeterRegistry meter registries}.
36
34
*
37
35
* @author Jon Schneider
38
36
* @author Phillip Webb
@@ -58,6 +56,9 @@ class MeterRegistryConfigurer {
58
56
}
59
57
60
58
voidconfigure(MeterRegistryregistry) {
59
+
if (registryinstanceofCompositeMeterRegistry) {
60
+
return;
61
+
}
61
62
// Customizers must be applied before binders, as they may add custom
0 commit comments