mod_statistics_statsman/README.markdown
changeset 3612 2c25594f9e71
parent 3163 e995cd0f228e
child 4599 bac3dae031ee
equal deleted inserted replaced
3611:3a06b0b6ba67 3612:2c25594f9e71
     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>"`.