From ab0cf459fe58d7720503a5d8e9603de445841014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 8 Jun 2021 07:24:51 +0200 Subject: [PATCH] do not collect uwsgi metrics for authentic as it triggers some bug --- prometheus-entrouvert-exporter/prometheus-uwsgi-exporter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prometheus-entrouvert-exporter/prometheus-uwsgi-exporter.py b/prometheus-entrouvert-exporter/prometheus-uwsgi-exporter.py index 4ee0c73..11c110f 100755 --- a/prometheus-entrouvert-exporter/prometheus-uwsgi-exporter.py +++ b/prometheus-entrouvert-exporter/prometheus-uwsgi-exporter.py @@ -45,6 +45,10 @@ app_name = None for stats_sock in glob.glob('/run/*/stats.sock'): app_name = stats_sock.split('/')[2] app_name = app_name.replace('authentic2-multitenant', 'authentic') + if app_name == 'authentic': + # do not collect authentic data as it triggers some uwsgi bug + # https://dev.entrouvert.org/issues/54624 + continue stats_json = '' with socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) as s: s.connect(stats_sock)