Software /
code /
prosody-modules
Comparison
mod_pubsub_stats/README.md @ 6211:750d64c47ec6 draft default tip
Merge
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 18 Mar 2025 00:31:36 +0700 |
parent | 6003:fe081789f7b5 |
comparison
equal
deleted
inserted
replaced
6210:24316a399978 | 6211:750d64c47ec6 |
---|---|
1 --- | |
2 labels: | |
3 - 'Statistics' | |
4 ... | |
5 | |
6 This module publishes data from [Prosody's `internal` statistics][doc:statistics] | |
7 into a PubSub node in [XEP-0039] format. | |
8 | |
9 The node defaults to `stats` but can be changed with the option | |
10 `pubsub_stats_node`. | |
11 | |
12 ``` lua | |
13 Component "pubsub.example.com" "pubsub" | |
14 modules_enabled = { | |
15 "pubsub_stats"; | |
16 } | |
17 pubsub_stats_node = "statistics" | |
18 ``` |