(self, metric_name=None, type=None, metric_value=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, type=None, metric_value=None):
        """ Ship that shit off to graphite broski
        """

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

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

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