def export(self, name, columns, points):
        """Write the points to the InfluxDB server."""
        # Manage prefix
        if self.prefix is not None:
            name = self.prefix + '.' + name
        # Write input to the InfluxDB database
        try:
            self.client.write_points(self._normalize(name, columns, points))
        except Exception as e:
            logger.error("Cannot export {} stats to InfluxDB ({})".format(name,
                                                                          e))
        else:
            logger.debug("Export {} stats to InfluxDB".format(name))
def export ( self , name , columns , points ) : if self . prefix is not None : name = self . prefix + '.' + name try : self . client . write_points ( self . _normalize ( name , columns , points ) ) except Exception as e : logger . error ( "Cannot export {} stats to InfluxDB ({})" . format ( name , e ) ) else : logger . debug ( "Export {} stats to InfluxDB" . format ( name ) )
Write the points to the InfluxDB server.