Mercurial > prosody-modules
view mod_http_status/README.md @ 5321:d02f465e2aff
mod_audit: Fix iteration of custom payloads to use ipairs
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 07 Apr 2023 13:09:31 +0100 |
| parents | 6af2d74daa15 |
| children | e274431bf4ce |
line wrap: on
line source
Prosody 0.12 added an API allowing modules to report their status. This module allows reading these statuses via HTTP for use in monitoring. ``` $ curl http://prosody.localhost:5280/status { "example.com" : { "c2s" : { "message" : "Loaded", "type" : "core" } } } ```
