Do not override Micrometer's naming conventions
The MeterRegistry passed to the MicrometerClientStatsReporter might have
some naming convention already set, and creation of
MicrometerClientStatsReporter would override it.
@@ -27,7 +27,6 @@ import com.uber.m3.util.Duration;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.Tag;
import io.micrometer.core.instrument.Timer;
-import io.micrometer.core.instrument.config.NamingConvention;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.TimeUnit;
@@ -39,7 +38,6 @@ public class MicrometerClientStatsReporter implements StatsReporter {
public MicrometerClientStatsReporter(MeterRegistry registry) {
this.registry = Objects.requireNonNull(registry);
- registry.config().namingConvention(NamingConvention.snakeCase);
}
@Override
