Mercurial > prosody-modules
view CONTRIBUTING @ 5827:f76909ec1300
mod_http_admin_api: metrics: Filter out a value that is commonly nan at startup
The upload bytes count is typically nan at startup, which cannot legally be
encoded in JSON.
I haven't assessed whether any other metrics might emit nan under other
circumstances, but this fixes the most visible issue right now.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 13 Jan 2024 12:03:15 +0000 |
parents | 0b7d65b4f576 |
children |
line wrap: on
line source
Contributing ============ Guidelines for developers ------------------------- - Each module should be contained in a folder of its name (e.g.\ `mod_ping/mod_ping.lua`) - Each module should have a `README.markdown` page in their folder with a description, usage, configuration and todo sections (feel free to copy an existing one as a template) - Commit messages should begin with the name of the plugin they are for (e.g. `mod_ping: Set correct namespace on pongs`) Instructions on cloning the repository are at <https://prosody.im/doc/installing_modules#prosody-modules>