public void removeHistogramMetrics(String baseName) {
    for (String suffix : histogramSuffixes) {
      helper.removeObjectName(baseName + suffix);
    }
    metricsMap.remove(baseName);
  }
Removes metric by name
@param name name of the metric to remove
hbase-hadoop-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java