code: public void createTransactionFailed(String scope, String streamName) {
          DYNAMIC_LOGGER.incCounterValue(globalMetricName(CREATE_TRANSACTION_FAILED), 1);
          DYNAMIC_LOGGER.incCounterValue(CREATE_TRANSACTION_FAILED, 1, streamTags(scope, streamName));
      }
docs: This method increments the global and Stream-related counters of failed Transaction create operations.
  
  @param scope      Scope.
  @param streamName Name of the Stream.