def METHOD_NAME(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)