public MetricRegistry getMetricRegistry() {
    return metricRegistry;
  }
@return the MetricRegistry object of {@link FrontendMetrics}.
ambry-frontend/src/main/java/com/github/ambry/frontend/FrontendMetrics.java