Description
The warning message in MetricRegistriesImpl#create should read addReport*er*Registration. It was missing the "er". It confused me for a bit when I'm trying to follow the message.
@Override public RatisMetricRegistry create(MetricRegistryInfo info) { return registries.put(info, () -> { if (reporterRegistrations.isEmpty()) { LOG.warn( "First MetricRegistry has been created without registering reporters. You may need to call" + " MetricRegistries.global().addReporterRegistration(...) before."); } RatisMetricRegistry registry = factory.create(info); reporterRegistrations.forEach(reg -> reg.accept(registry)); return registry; }); }
Attachments
Issue Links
- links to