Closed
Description
Expected Behavior
The spring-integration actuator endpoint should still work when multiple MeterRegistry beans have been registered (which is a use case that the regular spring metrics actuator endpoint supports).
Current Behavior
The spring-integration actuator endpoint doesn't work when multiple MeterMeterRegistry beans have been regsitered, see
Context
The regular spring metrics actuator endpoint supports multiple MeterRegistry beans, and it would be great if the spring-integration actuator endpoint had similar support, see
- https://github.com/spring-projects/spring-boot/blob/c1fcce4a8d057802aca1bad9faddacd96cdb114f/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MetricsEndpointAutoConfiguration.java#L45-L47
- https://github.com/spring-projects/spring-boot/blob/c1fcce4a8d057802aca1bad9faddacd96cdb114f/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/MetricsEndpoint.java#L67-L69
I have not found any workaround to make the spring-integration actuator endpoint work when multiple MeterRegistry beans have been registered.