docs: def _get_stats(self, url, instance):
          """
          Hit a given URL and return the parsed json.
          """
  
          self.log.debug('Fetching Couchbase stats at url: {}'.format(url))
  
          ssl_verify = instance.get('ssl_verify', True)
          timeout = float(instance.get('timeout', DEFAULT_TIMEOUT))
  
          auth = None
          if 'user' in instance and 'password' in instance:
              auth = (instance['user'], instance['password'])
  
          r = requests.get(url, auth=auth, verify=ssl_verify, headers=headers(self.agentConfig), timeout=timeout)
          r.raise_for_status()
          return r.json()