summaryrefslogtreecommitdiff
path: root/overlays/zte-prometheus-exporter
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/zte-prometheus-exporter')
-rw-r--r--overlays/zte-prometheus-exporter/zte-prometheus-exporter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py b/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py
index a0e1f23c..fc719a96 100644
--- a/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py
+++ b/overlays/zte-prometheus-exporter/zte-prometheus-exporter.py
@@ -183,6 +183,9 @@ class ZTEMetrics:
183 return metrics.encode('utf-8') 183 return metrics.encode('utf-8')
184 184
185class ZTEMetricsServer(BaseHTTPRequestHandler): 185class ZTEMetricsServer(BaseHTTPRequestHandler):
186 def log_message(self, format, *args):
187 pass
188
186 def do_GET(self): 189 def do_GET(self):
187 zte_metrics = ZTEMetrics.instance() 190 zte_metrics = ZTEMetrics.instance()
188 zte_metrics.update() 191 zte_metrics.update()