This makes it possible to assign a pre-configured ObservationRegistry (by Spring Boot for instance) in BatchMetrics