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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user