From 2134703b4bb9847d0efeac3b28ceefb7d1f26271 Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Sun, 26 Dec 2021 22:44:46 +0100 Subject: [enh] settings.yml: implement general.enable_metrics * allow not to record metrics (response time, etc...) * this commit doesn't change the UI. If the metrics are disabled /stats and /stats/errors will return empty response. in /preferences, the columns response time and reliability will be empty. --- searx/settings.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 3227a5a55..4ac9c8943 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -2,6 +2,7 @@ general: debug: false # Debug mode, only for development instance_name: "SearXNG" # displayed name contact_url: false # mailto:contact@example.com + enable_metrics: true # record stats brand: new_issue_url: https://github.com/searxng/searxng/issues/new -- cgit v1.2.3