def send(self, attrs):
        if not self.client:
            return
        d = {'host': self.hostname, 'service': self.service, "ttl": self.default_ttl}
        d.update(attrs)
        try:
            log.error("sending %s" % (d,))
            self.client.send(d)
        except error, e:
            log.error("error caught attempting to send to riemann %s", e)
dataset/ETHPy150Open spotify/docker-stress/spotify/docker_stress/riemann_util.py/RiemannReporter.send/original