code: public void createTransaction(String scope, String streamName, Duration latency) {
          DYNAMIC_LOGGER.incCounterValue(globalMetricName(CREATE_TRANSACTION), 1);
          DYNAMIC_LOGGER.incCounterValue(CREATE_TRANSACTION, 1, streamTags(scope, streamName));
          createTransactionLatency.reportSuccessValue(latency.toMillis());
      }
docs: This method increments the global and Stream-related counters of created Transactions and reports the latency of
  the operation.
  
  @param scope      Scope.
  @param streamName Name of the Stream.
  @param latency    Latency of the create Transaction operation.