Mercurial > prosody-modules
comparison mod_http_status/README.md @ 5161:6af2d74daa15
mod_http_status: Report module statuses
Uncommitted code from 2021
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 30 Jan 2023 00:48:12 +0100 |
parents | |
children | e274431bf4ce |
comparison
equal
deleted
inserted
replaced
5160:8474a3b80200 | 5161:6af2d74daa15 |
---|---|
1 Prosody 0.12 added an API allowing modules to report their status. This | |
2 module allows reading these statuses via HTTP for use in monitoring. | |
3 | |
4 ``` | |
5 $ curl http://prosody.localhost:5280/status | |
6 { | |
7 "example.com" : { | |
8 "c2s" : { | |
9 "message" : "Loaded", | |
10 "type" : "core" | |
11 } | |
12 } | |
13 } | |
14 ``` | |
15 |