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
8de737bf
Verified
Commit
8de737bf
authored
2 years ago
by
blallo
Browse files
Options
Downloads
Patches
Plain Diff
Serve http on 5282
parent
cd4d4216
Branches
Branches containing commit
No related tags found
1 merge request
!196
Prosody metrics
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/prosody/templates/prosody.cfg.lua.j2
+3
-1
3 additions, 1 deletion
roles/prosody/templates/prosody.cfg.lua.j2
services.im.yml
+2
-1
2 additions, 1 deletion
services.im.yml
with
5 additions
and
2 deletions
roles/prosody/templates/prosody.cfg.lua.j2
+
3
−
1
View file @
8de737bf
...
...
@@ -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.
...
...
@@ -61,9 +62,10 @@ modules_enabled = {
}
-- statistics and metrics
http_ports = { 5282 }
http_interfaces = { "", "::" }
--- 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 diff is collapsed.
Click to expand it.
services.im.yml
+
2
−
1
View file @
8de737bf
...
...
@@ -12,6 +12,7 @@ jabber:
-
5222
-
5269
-
5280
-
5282
-
15222
-
15269
-
15280
...
...
@@ -60,7 +61,7 @@ jabber:
compress
:
true
monitoring_endpoints
:
-
port
:
528
0
-
port
:
528
2
scheme
:
http
systemd_services
:
...
...
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