changeset 3611:235d986ac20f

misc/munin/prosody_: Add a total_s2s counter to work with mod_statistics_statsman mod_s2s doesn't currently count s2sin and s2sout separately, so this is a compromise for now.
author Kim Alvefur <zash@zash.se>
date Tue, 28 May 2019 21:32:50 +0200
parents 78885053cd80
children 2cee9fcb318b
files misc/munin/prosody_.lua
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/misc/munin/prosody_.lua	Tue May 28 21:27:45 2019 +0200
+++ b/misc/munin/prosody_.lua	Tue May 28 21:32:50 2019 +0200
@@ -30,7 +30,11 @@
 	incoming_connections = {
 		label = "incoming connections";
 		_key = "total_s2sin";
-	}
+	};
+	total_connections = {
+		label = "total connections";
+		_key = "total_s2s";
+	};
 }
 
 stats.mem = {