docs: 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 "{}" unknown'.format(metric_type))