Mercurial > prosody-wiki
comparison 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 |
comparison
equal
deleted
inserted
replaced
218:19a544b455b8 | 219:d71a16f557cb |
---|---|
1 #summary Simple incoming and outgoing stanza counter | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
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 | |
8 | |
9 = Details = | |
10 | |
11 The counter module is "stanza_counter", the example output module is stanza_counter_http. | |
12 | |
13 = Usage = | |
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!) | |
16 | |
17 Optional parameters for stanza_counter_http: | |
18 {{{ | |
19 stanza_counter_http_ports -- uses prosody's bosh ports format [http://prosody.im/doc/setting_up_bosh#see here]. | |
20 }}} | |
21 | |
22 = Compatibility = | |
23 | |
24 * 0.8 works | |
25 * 0.7 should work | |
26 * 0.6 won't work | |
27 * 0.5 won't work |