grim/containers/prosody

Enable prometheus and statistics

2020-01-07, Gary Kramlich
734268c38205
Parents b4dff392e395
Children 75f4e4d9e0c5
Enable prometheus and statistics
--- a/prosody.cfg.lua Thu Oct 24 05:20:11 2019 -0500
+++ b/prosody.cfg.lua Tue Jan 07 04:44:33 2020 -0600
@@ -38,6 +38,8 @@
"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
"websocket"; -- XMPP over WebSockets
"http_files"; -- Serve static files from a directory over HTTP
+
+ "prometheus"; -- enable the prometheus plugin
}
modules_disabled = {}
@@ -49,6 +51,10 @@
s2s_secure_auth = true
s2s_secure_domains = { "jabber.org" }
+-- enable statistics so the prometheus plugin will work
+statistics = "internal"
+statistics_interval = 15 -- in seconds
+
-- Select the authentication backend to use. The 'internal' providers
-- use Prosody's configured data storage to store the authentication data.