def METHOD_NAME(self):
    """
    Prometheus: Retrieve metrics
    """
    url = 'http://127.0.0.1:' + str(self._webServerPort) + '/metrics'
    r = requests.get(url, auth=('whatever', self._webServerBasicAuthPassword), timeout=self._webTimeout)
    self.assertTrue(r)
    self.assertEqual(r.status_code, 200)
    self.checkPrometheusContentBasic(r.text)
    self.checkPrometheusContentPromtool(r.content)
    self.checkMetric(r.text, 'dnsdist_custom_metric1', 'counter', 1)
    self.checkMetric(r.text, 'dnsdist_custom_metric2', 'gauge', 0)
    self.checkMetric(r.text, 'custom_prometheus_name', 'counter', 0)