@VisibleForTesting
  static void unsafeResetExporter() {
    synchronized (monitor) {
      if (instance != null) {
        instance.intervalMetricReader.stop();
      }
      instance = null;
    }
  }
@ VisibleForTesting static void unsafeResetExporter ( ) { synchronized ( monitor ) { if ( instance != null ) { instance . intervalMetricReader . stop ( ) ; } instance = null ; } }
Resets exporter to null. Used only for unit tests.