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:
parent
84a6c25e5d
commit
2a8ec06934
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue