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

Move configuration values up

parent 9ba8bec3
Branches
Tags
1 merge request!196Prosody metrics
...@@ -60,6 +60,17 @@ modules_enabled = { ...@@ -60,6 +60,17 @@ modules_enabled = {
"http_openmetrics"; "http_openmetrics";
} }
-- statistics and metrics
--- 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 allow_registration = false
archive_expires_after = "1w" archive_expires_after = "1w"
...@@ -114,17 +125,6 @@ sql = { ...@@ -114,17 +125,6 @@ sql = {
port = 3311 port = 3311
} }
-- statistics and metrics
--- 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"
{% for domain in jabber_domains %} {% for domain in jabber_domains %}
VirtualHost "{{ domain }}" VirtualHost "{{ domain }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment