void initializeInstantiationMetric(final boolean instantiated, final long instantiationExceptionCount) {
    helixClusterManagerInstantiationFailed = () -> instantiated ? 0L : 1L;
    registry.gauge(MetricRegistry.name(HelixClusterManager.class, "instantiationFailed"),
        () -> helixClusterManagerInstantiationFailed);

    helixClusterManagerRemoteInstantiationFailed = () -> instantiationExceptionCount;
    registry.gauge(MetricRegistry.name(HelixClusterManager.class, "instantiationExceptionCount"),
        () -> helixClusterManagerRemoteInstantiationFailed);
  }
Metrics for the {@link HelixClusterManager}
@param registry The {@link MetricRegistry} associated with the {@link HelixClusterManager}
@param  clusterMapCallback The {@link HelixClusterManagerQueryHelper} used to query information
                           from {@link HelixClusterManager}
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixClusterManagerMetrics.java