(self, metric_name=None, metric_value=None, volume=None)
Ship that shit off to graphite broski
Ship that shit off to graphite broski
Ship that shit off to graphite broski
def push(self, metric_name=None, metric_value=None, volume=None):
        """ Ship that shit off to graphite broski
        """

        graphite_path = self.path_prefix
        graphite_path += '.' + self.device + '.' + 'volume'
        graphite_path += '.' + volume + '.' + metric_name

        metric = Metric(graphite_path, metric_value, precision=4,
                        host=self.device)

        self.publish_metric(metric)
def push ( self , metric_name = None , metric_value = None , volume = None ) : graphite_path = self . path_prefix graphite_path += '.' + self . device + '.' + 'volume' graphite_path += '.' + volume + '.' + metric_name metric = Metric ( graphite_path , metric_value , precision = 4 , host = self . device ) self . publish_metric ( metric )