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 /docs | |
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 'docs')
-rw-r--r-- | docs/admin/engines/settings.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/admin/engines/settings.rst b/docs/admin/engines/settings.rst index b04de7cb3..80fb183c0 100644 --- a/docs/admin/engines/settings.rst +++ b/docs/admin/engines/settings.rst @@ -81,6 +81,9 @@ Global Settings ``contact_url``: Contact ``mailto:`` address or WEB form. +``enable_metrics``: + Enabled by default. Record various anonymous metrics availabled at ``/stats``, + ``/stats/errors`` and ``/preferences``. .. _settings global server: |