Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
config
Commits
cd4d4216
Verified
Commit
cd4d4216
authored
2 years ago
by
blallo
Browse files
Options
Downloads
Patches
Plain Diff
Move configuration values up
parent
9ba8bec3
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!196
Prosody metrics
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/prosody/templates/prosody.cfg.lua.j2
+11
-11
11 additions, 11 deletions
roles/prosody/templates/prosody.cfg.lua.j2
with
11 additions
and
11 deletions
roles/prosody/templates/prosody.cfg.lua.j2
+
11
−
11
View file @
cd4d4216
...
@@ -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 }}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment