static synchronized GoogleDtpInternalMetricRecorder getInstance() throws IOException {
    if (INSTANCE == null) {
      INSTANCE = new GoogleDtpInternalMetricRecorder(
          GoogleCredentials.getApplicationDefault(),
          GoogleCloudUtils.getProjectId());
    }

    return INSTANCE;
  }
A {@link DtpInternalMetricRecorder} that writes metrics to Stackdriver.
*
extensions/cloud/portability-cloud-google/src/main/java/org/datatransferproject/cloud/google/GoogleDtpInternalMetricRecorder.java