(self, metric_name, metric_type, value, tags=None)
Set a metric
Set a metric
Set a metric
def _set_metric(self, metric_name, metric_type, value, tags=None):
        """
        Set a metric
        """
        if metric_type == self.GAUGE:
            self.gauge(metric_name, value, tags=tags)
        else:
            self.log.error('Metric type "%s" unknown', metric_type)
def _set_metric ( self , metric_name , metric_type , value , tags = None ) : if metric_type == self . GAUGE : self . gauge ( metric_name , value , tags = tags ) else : self . log . error ( 'Metric type "%s" unknown' , metric_type )