Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-20 21:07:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-20 21:07:48 +0300
commite32f083f49a50ee2f7c217eb0d51d759958145f3 (patch)
tree0624191ff758f73b7a19ff30daf539e6210b6cc0 /doc/development/workhorse
parent6997e3f3d0a714bc67df268989fb089c943330cc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/workhorse')
-rw-r--r--doc/development/workhorse/configuration.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/development/workhorse/configuration.md b/doc/development/workhorse/configuration.md
index ce80a155489..d34e567adda 100644
--- a/doc/development/workhorse/configuration.md
+++ b/doc/development/workhorse/configuration.md
@@ -147,6 +147,19 @@ addr = "localhost:3443"
The `certificate` file should contain the concatenation
of the server's certificate, any intermediates, and the CA's certificate.
+Metrics endpoints can be configured similarly:
+
+```toml
+[metrics_listener]
+network = "tcp"
+addr = "localhost:9229"
+[metrics_listener.tls]
+ certificate = "/path/to/certificate"
+ key = "/path/to/private/key"
+ min_version = "tls1.2"
+ max_version = "tls1.3"
+```
+
## Interaction of authBackend and authSocket
The interaction between `authBackend` and `authSocket` can be confusing.