def _send_telemetry_gauge(self, metric_name, val, scraper_config):
    if scraper_config['telemetry']:
        metric_name_with_namespace = self._telemetry_metric_name_with_namespace(metric_name, scraper_config)
        custom_tags = scraper_config['custom_tags']
        tags = list(custom_tags)
        tags.extend(scraper_config['_metric_tags'])
        self.gauge(metric_name_with_namespace, val, tags=tags)
def _send_telemetry_gauge(self, metric_name, val, scraper_config):
    if scraper_config['telemetry']:
        metric_name_with_namespace = self._telemetry_metric_name_with_namespace(metric_name, scraper_config)
        custom_tags = scraper_config['custom_tags']
        tags = list(custom_tags)
        tags.extend(scraper_config['_metric_tags'])
        self.gauge(metric_name_with_namespace, val, tags=tags)