src/dirbs/importer/abstract_importer.py
def _log_normalized_import_time_metrics(self, elapsed_time):
        """Method responsible for logging import time, normalized by the number of records in the input file."""
        # Only track normalized time stats if we worked out how many rows were in the source data and
        # it was greater than zero
        if self._data_length > 0:
            norm_factor = 1000000 / self._data_length
            self._statsd.gauge('{0}import_time.normalized'.format(self._metrics_import_root),
                               elapsed_time * norm_factor)
Method responsible for logging import time, normalized by the number of records in the input file.
Method responsible for logging import time, normalized by the number of records in the input file.
Method responsible for logging import time normalized by the number of records in the input file .
def _log_normalized_import_time_metrics(self, elapsed_time):
        if self._data_length > 0:
            norm_factor = 1000000 / self._data_length
            self._statsd.gauge('{0}import_time.normalized'.format(self._metrics_import_root),
                               elapsed_time * norm_factor)
def _log_normalized_import_time_metrics ( self , elapsed_time ) : if self . _data_length > 0 : norm_factor = 1000000 / self . _data_length self . _statsd . gauge ( '{0}import_time.normalized' . format ( self . _metrics_import_root ) , elapsed_time * norm_factor )
Method responsible for logging import time, normalized by the number of records in the input file.
Method responsible for logging import time normalized by the number of records in the input file .
"""Method responsible for logging import time, normalized by the number of records in the input file.""" # Only track normalized time stats if we worked out how many rows were in the source data and # it was greater than zero
self
elapsed_time