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

        if self._should_send_metric(name, rate):
            value = str(value)
            self._request(
                Set(
                    self._create_metric_name_for_request(name),
                    value,
                    rate
                ).to_request()
            )
def set(self, name, value, rate=1):
        # type: (str, str, float) -> None
        """Send a Set metric with the specified unique value"""

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