diff mod_stanza_counter.wiki @ 219:d71a16f557cb

mod_stanza_counter: added wiki page.
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 22 Sep 2011 17:59:51 +0000
parents
children 65026f99b93d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_stanza_counter.wiki	Thu Sep 22 17:59:51 2011 +0000
@@ -0,0 +1,27 @@
+#summary Simple incoming and outgoing stanza counter
+#labels Stage-Beta
+
+= Introduction =
+
+This module counts incoming and outgoing stanzas from when the instance started,
+and makes the data available to other modules by creating a global prosody. object
+
+= Details =
+
+The counter module is "stanza_counter", the example output module is stanza_counter_http.
+
+= Usage =
+
+Copy both files into prosody's module directory and place 'em into your enabled modules (stanza_counter_http requires to be loaded into the global section!)
+
+Optional parameters for stanza_counter_http:
+{{{
+stanza_counter_http_ports -- uses prosody's bosh ports format [http://prosody.im/doc/setting_up_bosh#see here].
+}}}
+
+= Compatibility =
+
+ * 0.8 works
+ * 0.7 should work
+ * 0.6 won't work
+ * 0.5 won't work