do not collect uwsgi metrics for authentic as it triggers some bug

This commit is contained in:
Frédéric Péters 2021-06-08 07:24:51 +02:00
parent 50773e8e26
commit ab0cf459fe
1 changed files with 4 additions and 0 deletions

View File

@ -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)