Mercurial > prosody-modules
comparison mod_pubsub_stats/README.markdown @ 3156:50618747e00e
mod_pubsub_stats: Add a brief README
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 28 Jun 2018 17:43:23 +0200 |
parents | |
children | 1900280e2a90 |
comparison
equal
deleted
inserted
replaced
3155:6e5bde0879ad | 3156:50618747e00e |
---|---|
1 This module publishes data from internal statistics into a PubSub node | |
2 in [XEP-0039] format. | |
3 | |
4 The node defaults to `stats` but can be changed with the option | |
5 `pubsub_stats_node`. | |
6 | |
7 ``` lua | |
8 Component "pubsub.example.com" "pubsub" | |
9 modules_enabled = { | |
10 "pubsub_stats"; | |
11 } | |
12 pubsub_stats_node = "statistics" | |
13 ``` |