ng: Allow specifying statistics interval

Recommended for Prometheus / OpenMetrics which will probably be the
primary use. In fact, why not just enable and hardcode
mod_http_openmetrics?
This commit is contained in:
Kim Alvefur 2023-01-14 00:28:27 +01:00
parent 84a6c25e5d
commit 2a8ec06934

View file

@ -227,6 +227,7 @@ log = {
-- For more info see https://prosody.im/doc/statistics
statistics = ENV_PROSODY_STATISTICS
statistics_interval = tonumber(ENV_PROSODY_STATISTICS_INTERVAL) or ENV_PROSODY_STATISTICS_INTERVAL
-- Certificates