Mercurial > prosody-modules
view mod_http_status/README.md @ 5473:e4382f6e3564
mod_http_oauth2: Tweak formatting of log message
No need to `or ""` anymore since Prosody rev e88db5668cfb (0.11.0) and
the %q format should produce either (nil) or "http://example"
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 May 2023 13:27:27 +0200 |
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" } } } ```