'Export the stats to the Statsd server.'

def export(self, name, columns, points):

    for i in range(len(columns)):
        if (not isinstance(points[i], Number)):
            continue
        stat_name = '{}.{}'.format(name, columns[i])
        stat_value = points[i]
        try:
            self.client.gauge(normalize(stat_name), stat_value)
        except Exception as e:
            logger.error(('Can    not    export    stats    to    Statsd    (%s)' % e))
    logger.debug('Export    {}    stats    to    Statsd'.format(name))
