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. --- docs/admin/engines/settings.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/admin') 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: -- cgit v1.2.3-54-g00ecf