diff options
author | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-15 14:41:07 +0300 |
---|---|---|
committer | Igor Drozdov <idrozdov@gitlab.com> | 2021-07-19 15:29:54 +0300 |
commit | c505ced99cefece0255e62c02904d8cf415f9075 (patch) | |
tree | 4641a745c5ce112f103b113701a8aedde9a3c6b6 /cmd/gitlab-sshd | |
parent | 60a91e977cb76e2cc49faeeac134640dbf2e2e6c (diff) | |
download | gitlab-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/gitlab-sshd')
-rw-r--r-- | cmd/gitlab-sshd/main.go | 1 |
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()), ), ) }() |