'Submit a metric as a gauge, additional tags provided will be added to
the ones from the label provided via the metrics object.
`custom_tags` is an array of \'tag:value\' that will be added to the
metric when sending the gauge to Datadog.'

def _submit_gauge(self, metric_name, val, metric, custom_tags=None):

    _tags = []
    if (custom_tags is not None):
        _tags += custom_tags
    for label in metric.label:
        if ((self.exclude_labels is None) or (label.name not in self.exclude_labels)):
            tag_name = label.name
            if ((self.labels_mapper is not None) and (label.name in self.labels_mapper)):
                tag_name = self.labels_mapper[label.name]
            _tags.append('{}:{}'.format(tag_name, label.value))
    self.gauge('{}.{}'.format(self.NAMESPACE, metric_name), val, _tags)
