diff options
author | Alexandre Flament <alex@al-f.net> | 2021-12-26 22:44:46 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2022-01-05 19:03:04 +0100 |
commit | 2134703b4bb9847d0efeac3b28ceefb7d1f26271 (patch) | |
tree | 054d617ef416a552749cf1cf7761d45f12f348b3 /searx/settings.yml | |
parent | a7199bc08552fbd3a8cf8b257aeded5b26591afb (diff) | |
download | searxng-2134703b4bb9847d0efeac3b28ceefb7d1f26271.tar.gz searxng-2134703b4bb9847d0efeac3b28ceefb7d1f26271.zip |
[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.
Diffstat (limited to 'searx/settings.yml')
-rw-r--r-- | searx/settings.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |