view mod_stanza_counter.wiki @ 246:000cd449e801

Add compatibility status for 0.8 and note about persistent pastes.
author MWild1@gmail.com
date Mon, 19 Dec 2011 18:56:08 +0000
parents 8c19cbb8a6be
children 97f27542295a
line wrap: on
line source

#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 example for stanza_counter_http:
{{{
stanza_counter_http_ports = {{ port = 5280, path = "mycounterpath" }}
}}}

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