statsdmetrics/client/__init__.py
def gauge(self, name, value, rate=1):
        # type: (str, float, float) -> None
        """Send a Gauge metric with the specified value"""

        if self._should_send_metric(name, rate):
            if not is_numeric(value):
                value = float(value)
            self._request(
                Gauge(
                    self._create_metric_name_for_request(name),
                    value,
                    rate
                ).to_request()
            )
def gauge(self, name, value, rate=1):
        # type: (str, float, float) -> None
        if self._should_send_metric(name, rate):
            if not is_numeric(value):
                value = float(value)
            self._request(
                Gauge(
                    self._create_metric_name_for_request(name),
                    value,
                    rate
                ).to_request()
            )
def gauge ( self , name , value , rate = 1 ) : # type: (str, float, float) -> None if self . _should_send_metric ( name , rate ) : if not is_numeric ( value ) : value = float ( value ) self . _request ( Gauge ( self . _create_metric_name_for_request ( name ) , value , rate ) . to_request ( ) )
Send a Gauge metric with the specified value
Send a Gauge metric with the specified value