'Save a gauge value.'

def save_gauge(self, metric, value, timestamp=None, tags=None, hostname=None, device_name=None):

    if (not self.is_gauge(metric)):
        self.gauge(metric)
    self.save_sample(metric, value, timestamp, tags, hostname, device_name)
