Skip to content
Snippets Groups Projects
Commit b1e231de authored by blallo's avatar blallo
Browse files

Merge branch 'prosody-metrics' into 'master'

Prosody metrics

See merge request !196
parents 938fa98d 03c5268d
No related branches found
No related tags found
1 merge request!196Prosody metrics
---
dependencies:
- { role: account-automation-frontend }
......@@ -37,6 +37,7 @@ modules_enabled = {
--"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- HTTP modules
"http"; -- Needed to serve the metrics
"http_files"; -- Serve static files from a directory over HTTP
-- "http_upload"; -- Enable XEP-0363 which let clients upload files over HTTP
"http_upload_external"; -- Enable XEP-0363, which lets clients upload files over HTTP to an external web server.
......@@ -55,8 +56,22 @@ modules_enabled = {
-- System-level modules
"net_proxy";
-- Metrics
"http_openmetrics";
}
-- statistics and metrics
http_ports = { 5282 }
--- The http_openmetrics module exposes the metrics gathered by this internal
--- mechanism
statistics = "internal"
-- this is fine iff we have only one Prometheus instance
statistics_interval = "manual"
-- This is needed to allow external services to query the openmetrics endpoint
openmetrics_allowed_cidr = "0.0.0.0/0"
allow_registration = false
archive_expires_after = "1w"
......@@ -141,3 +156,5 @@ Component "conference.jabber.{{ domain }}" "muc"
Component "proxy.jabber.{{ domain }}" "proxy65"
{% endfor %}
-- vim:set syntax=lua:
......@@ -12,6 +12,7 @@ jabber:
- 5222
- 5269
- 5280
- 5282
- 15222
- 15269
- 15280
......@@ -43,6 +44,8 @@ jabber:
public: 5269
- internal: 15280
public: 5280
- internal: 5282
public: 5282
datasets:
- name: data
......@@ -59,5 +62,9 @@ jabber:
params:
compress: true
monitoring_endpoints:
- port: 5282
scheme: http
systemd_services:
- replds@acme.service
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment