docs: public void configure(LifecycleEnvironment environment, MetricRegistry registry) {
          for (ReporterFactory reporter : reporters) {
              try {
                  final ScheduledReporterManager manager =
                          new ScheduledReporterManager(reporter.build(registry),
                                                       reporter.getFrequency().orElseGet(this::getFrequency),
                                                       reportOnStop);
                  environment.manage(manager);
              } catch (Exception e) {
                  LOGGER.warn("Failed to create reporter, metrics may not be properly reported.", e);
              }
          }
      }