Software / code / prosody-modules
File
mod_pubsub_stats/README.markdown @ 3464:13b394b0db82
mod_cache_c2s_caps: Fail to load if module:send_iq() is not available
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 14 Feb 2019 17:06:16 +0000 |
| parent | 3409:1900280e2a90 |
| child | 4451:f1a63271dcfc |
line wrap: on
line source
This module publishes data from [Prosody's `internal` statistics][doc:statistics] into a PubSub node in [XEP-0039] format. The node defaults to `stats` but can be changed with the option `pubsub_stats_node`. ``` lua Component "pubsub.example.com" "pubsub" modules_enabled = { "pubsub_stats"; } pubsub_stats_node = "statistics" ```