summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIgor Drozdov <idrozdov@gitlab.com>2021-07-15 14:41:07 +0300
committerIgor Drozdov <idrozdov@gitlab.com>2021-07-19 15:29:54 +0300
commitc505ced99cefece0255e62c02904d8cf415f9075 (patch)
tree4641a745c5ce112f103b113701a8aedde9a3c6b6 /cmd
parent60a91e977cb76e2cc49faeeac134640dbf2e2e6c (diff)
downloadgitlab-shell-c505ced99cefece0255e62c02904d8cf415f9075.tar.gz
Provide liveness and readiness probes
They are going to be used to determine whether a server is alive and ready to accept traffic
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gitlab-sshd/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gitlab-sshd/main.go b/cmd/gitlab-sshd/main.go
index 7cecbf5..e524023 100644
--- a/cmd/gitlab-sshd/main.go
+++ b/cmd/gitlab-sshd/main.go
@@ -76,6 +76,7 @@ func main() {
monitoring.Start(
monitoring.WithListenerAddress(cfg.Server.WebListen),
monitoring.WithBuildInformation(Version, BuildTime),
+ monitoring.WithServeMux(server.MonitoringServeMux()),
),
)
}()