def _load(self, instance):
        url = instance.get('expvar_url')
        if not url:
            raise Exception('GoExpvar instance missing "expvar_url" value.')

        tags = instance.get('tags', [])
        tags.append("expvar_url:%s" % url)
        data = self._get_data(url)
        metrics = DEFAULT_METRICS + instance.get("metrics", [])
        max_metrics = instance.get("max_returned_metrics", DEFAULT_MAX_METRICS)
        return data, tags, metrics, max_metrics, url
dataset/ETHPy150Open serverdensity/sd-agent/checks.d/go_expvar.py/GoExpvar._load/original