(self, metric)
Send data to gmond.
Send data to gmond.
Send data to gmond .
def _send(self, metric):
        """
        Send data to gmond.
        """
        metric_name = self.get_name_from_path(metric.path)
        tmax = "60"
        dmax = "0"
        slope = "both"
        # FIXME: Badness, shouldn't *assume* double type
        metric_type = "double"
        units = ""
        group = ""
        self.gmetric.send(metric_name,
                          metric.value,
                          metric_type,
                          units,
                          slope,
                          tmax,
                          dmax,
                          group)
def _send ( self , metric ) : metric_name = self . get_name_from_path ( metric . path ) tmax = "60" dmax = "0" slope = "both" # FIXME: Badness, shouldn't *assume* double type metric_type = "double" units = "" group = "" self . gmetric . send ( metric_name , metric . value , metric_type , units , slope , tmax , dmax , group )