private static String cleanMetric(String metric) {
        return clean(metric, NAME_JOINER);
    }
This method maps a metric name to follow conventions and cleans up the result to be more legible:
<ul>
 <li> converts names to lower case conventions
 <li> normalizes artifacts of hyphen case in metric name to dot separated conversion
</ul>
clients/src/main/java/org/apache/kafka/common/telemetry/internals/TelemetryMetricNamingConvention.java