comparison mod_stanza_counter.wiki @ 275:b5563fb582aa

updated wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 26 May 2012 02:41:06 +0000
parents 97f27542295a
children 7a597092e71f
comparison
equal deleted inserted replaced
274:6e38c45ffc08 275:b5563fb582aa
1 #summary Simple incoming and outgoing stanza counter 1 #summary Simple incoming and outgoing stanza counter
2 #labels Stage-Beta 2 #labels Stage-Stable
3 3
4 = Introduction = 4 = Introduction =
5 5
6 This module counts incoming and outgoing stanzas from when the instance started, 6 This module counts incoming and outgoing stanzas from when the instance started,
7 and makes the data available to other modules by creating a global prosody. object 7 and makes the data available to other modules by creating a global prosody. object
12 12
13 = Usage = 13 = Usage =
14 14
15 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!) 15 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!)
16 16
17 Optional parameters example for stanza_counter_http: 17 = Info =
18 {{{
19 stanza_counter_http_ports = {{ port = 5280, path = "mycounterpath" }}
20 }}}
21 18
22 stanza_counter_http_ports uses prosody's bosh ports format, [http://prosody.im/doc/setting_up_bosh# see here]. 19 * As of now to count components stanzas, it needs to be manually loaded (inserted into modules_enabled of the components' sections) on these.
23 20 * This version isn't compatible with previous versions of prosody (looks at 0.8-diverge branch for olders).
24 = Compatibility =
25
26 * 0.8 works
27 * 0.7 should work
28 * 0.6 won't work
29 * 0.5 won't work