def send(self, metric, value, timestamp=None, tags={}):
if timestamp is None:<EOL><INDENT>timestamp = time.time()<EOL><DEDENT>message = self.build_message(metric, value, timestamp, tags)<EOL>if self.interval is None:<EOL><INDENT>self.send_socket(message)<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>self._queue.put_nowait(message)<EOL><DEDENT>except queue.Full:<EOL><INDENT>logger.error('<STR_LIT>'.format(message))<EOL><DEDENT><DEDENT>
Send given metric and (int or float) value to Graphite host.
        Performs send on background thread if "interval" was specified when
        creating this Sender.

        If a "tags" dict is specified, send the tags to the Graphite host along with the metric.