Mercurial > prosody-wiki
annotate 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 |
rev | line source |
---|---|
219
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
1 #summary Simple incoming and outgoing stanza counter |
275 | 2 #labels Stage-Stable |
219
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
3 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
4 = Introduction = |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
5 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
6 This module counts incoming and outgoing stanzas from when the instance started, |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
7 and makes the data available to other modules by creating a global prosody. object |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
8 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
9 = Details = |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
10 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
11 The counter module is "stanza_counter", the example output module is stanza_counter_http. |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
12 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
13 = Usage = |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
14 |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
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!) |
d71a16f557cb
mod_stanza_counter: added wiki page.
Marco Cirillo <maranda@lightwitch.org>
parents:
diff
changeset
|
16 |
275 | 17 = Info = |
221 | 18 |
275 | 19 * As of now to count components stanzas, it needs to be manually loaded (inserted into modules_enabled of the components' sections) on these. |
20 * This version isn't compatible with previous versions of prosody (looks at 0.8-diverge branch for olders). |