view mod_pubsub_stats/README.markdown @ 4834:7ed2467c9bb5

mod_bookmarks2: Add simple support for legacy PEP queries This implements the publish and items PubSub queries of XEP-0048 version 1.1, ignoring item id, publish-options, and any other query.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 23 Dec 2021 17:44:35 +0100
parents f1a63271dcfc
children
line wrap: on
line source

---
labels:
- 'Statistics'
...

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"
```