def set(self, name, value, rate=<NUM_LIT:1>):<EOL>
if self._should_send_metric(name, rate):<EOL><INDENT>value = str(value)<EOL>self._request(<EOL>Set(<EOL>self._create_metric_name_for_request(name),<EOL>value,<EOL>rate<EOL>).to_request()<EOL>)<EOL><DEDENT>
Send a Set metric with the specified unique value