Expose prosody metrics to the web portal

This requires mod_measure_process loaded and a recent version
of mod_http_admin_api to expose the metrics to the web portal in
a reduced and specialized form.
This commit is contained in:
Jonas Schäfer 2021-05-27 18:03:48 +02:00
parent 7ca468a1ac
commit 690f58bb27
3 changed files with 6 additions and 1 deletions

View File

@ -109,6 +109,9 @@ modules_enabled = {
"http_oauth2";
"http_admin_api";
"rest";
-- Monitoring & maintenance
"measure_process";
}
registration_watchers = {} -- Disable by default
@ -159,6 +162,7 @@ authentication = "internal_hashed"
authorization = "internal"
storage = "internal"
statistics = "internal"
statistics_interval = 60
certificates = "certs"

View File

@ -9,7 +9,7 @@
package: "prosody-trunk"
build: "1436"
prosody_modules:
revision: "8e58a1b78336"
revision: "cade5dac1003"
tasks:
- import_tasks: tasks/prosody.yml
- import_tasks: tasks/supervisor.yml

View File

@ -116,6 +116,7 @@
- mod_muc_defaults
- mod_muc_local_only
- mod_http_host_status_check
- mod_measure_process
- name: Enable wanted modules (snikket-modules)
file: