equal
deleted
inserted
replaced
1 A module providing a streaming statistics interface like |
1 A module providing a streaming statistics interface like |
2 [mod_statistics] but based on the new [statistics API][doc:statistics] |
2 [mod_statistics] but based on the new [statistics API][doc:statistics] |
3 introduced in Prosody 0.10. |
3 introduced in Prosody 0.10. |
|
4 |
|
5 # Usage |
|
6 |
|
7 To use, enable the built-in statistics like so: |
|
8 |
|
9 ```lua |
|
10 statistics = "internal" |
|
11 ``` |
|
12 |
|
13 Then, in `modules_enabled`, replace `"statistics"` with |
|
14 `"statistics_statsman"` and the various `"statistics_<something>"` |
|
15 with equivalent `"measure_<something>"`. |