diff --git a/satella/__init__.py b/satella/__init__.py
index 8507c60eae81c3c2a6c07374de307550fa56cbff..bcb43314661b1e4e3443e6439dc7b60c2b401c57 100644
--- a/satella/__init__.py
+++ b/satella/__init__.py
@@ -1 +1 @@
-__version__ = '2.16.7a1'
+__version__ = '2.16.6'
diff --git a/satella/instrumentation/metrics/exporters/prometheus.py b/satella/instrumentation/metrics/exporters/prometheus.py
index 8b16c99edd3da5e746231d6162a20fcd518967db..41d28c93eea133d8b143e960a83a9d98f150c762 100644
--- a/satella/instrumentation/metrics/exporters/prometheus.py
+++ b/satella/instrumentation/metrics/exporters/prometheus.py
@@ -49,8 +49,18 @@ class PrometheusHTTPExporterThread(TerminableThread):
         super().__init__(daemon=True)
         self.interface = interface  # type: str
         self.port = port  # type: int
-        self.httpd = http.server.HTTPServer((self.interface, self.port), PrometheusHandler,
-                                            bind_and_activate=False)
+
+        self_2 = self
+
+        class HTTPServer(http.server.HTTPServer):
+            def __init__(self):
+                super().__init__((self.interface, self.port), PrometheusHandler,
+                                 bind_and_activate=False)
+
+            def get_metric_data(self):
+                return self_2.get_metric_data()
+
+        self.httpd = HTTPServer()
         self.httpd.extra_labels = extra_labels or {}
         self.httpd.metric = getMetric('prometheus.exports_per_time',
                                       'cps' if enable_metric else 'empty',