src/dirbs/logging/statsd.py
def gauge(self, stat, value, rate=1, delta=False):
        """Logging, thread-safe, multiprocess-safe version of StatsClient.gauge."""
        with _lock:
            if delta:
                _logger.info('Incrementing StatsD gauge %s by delta %d', stat, value)
            else:
                _logger.info('Setting StatsD gauge %s to value %d', stat, value)
            return self._client.gauge(stat, value, rate, delta)
Logging, thread-safe, multiprocess-safe version of StatsClient.gauge.
Logging, thread-safe, multiprocess-safe version of StatsClient.gauge.
Logging thread - safe multiprocess - safe version of StatsClient . gauge .
def gauge(self, stat, value, rate=1, delta=False):
        with _lock:
            if delta:
                _logger.info('Incrementing StatsD gauge %s by delta %d', stat, value)
            else:
                _logger.info('Setting StatsD gauge %s to value %d', stat, value)
            return self._client.gauge(stat, value, rate, delta)
def gauge ( self , stat , value , rate = 1 , delta = False ) : with _lock : if delta : _logger . info ( 'Incrementing StatsD gauge %s by delta %d' , stat , value ) else : _logger . info ( 'Setting StatsD gauge %s to value %d' , stat , value ) return self . _client . gauge ( stat , value , rate , delta )
Logging, thread-safe, multiprocess-safe version of StatsClient.gauge.
Logging thread - safe multiprocess - safe version of StatsClient . gauge .
"""Logging, thread-safe, multiprocess-safe version of StatsClient.gauge."""
self
stat
value
rate
delta