code: public static MetricReportManager getInstance() {
      if (instance == null) {
        synchronized (MetricReportManager.class) {
          if (instance == null) {
            logger.info("Instantiating MetricReportManager");
            instance = new MetricReportManager();
          }
        }
      }
      return instance;
    }
docs: Get a singleton object for Metric Manager