docs: def send(self, path, value, metric_type):
          """Send a metric to Statsd.
  
          :param list path: The metric path to record
          :param mixed value: The value to record
          :param str metric_type: The metric type
  
          """
          msg = self._msg_format.format(
              path=self._build_path(path, metric_type),
              value=value,
              metric_type=metric_type)
  
          LOGGER.debug('Sending %s to %s:%s', msg.encode('ascii'),
                       self._host, self._port)
  
          try:
              if self._tcp:
                  if self._sock.closed():
                      return
                  return self._sock.write(msg.encode('ascii'))
  
              self._sock.sendto(msg.encode('ascii'), (self._host, self._port))
          except iostream.StreamClosedError as error:  # pragma: nocover
              LOGGER.warning('Error sending TCP statsd metric: %s', error)
          except (OSError, socket.error) as error:  # pragma: nocover
              LOGGER.exception('Error sending statsd metric: %s', error)