@Override
  public void recordGenericMetric(DataVertical dataType, String service, String tag, int value) {
    TagContext tctx = tagger.emptyBuilder()
        .put(KEY_DATA_TYPE, TagValue.create(dataType.getDataType()), TAG_METADATA)
        .put(KEY_GENERIC_SERVICE, TagValue.create(service), TAG_METADATA)
        .put(KEY_GENERIC_TAG, TagValue.create(tag), TAG_METADATA)
        .build();
    try (Scope ss = tagger.withTagContext(tctx)) {
      STATS_RECORDER.newMeasureMap()
          .put(GENERIC_COUNT, value)
          .record();
    }
  }
A {@link DtpInternalMetricRecorder} that writes metrics to Stackdriver.
*
extensions/cloud/portability-cloud-google/src/main/java/org/datatransferproject/cloud/google/GoogleDtpInternalMetricRecorder.java