Add healthz check to ensure logging is not blocked

This commit is contained in:
Jordan Liggitt
2018-06-09 17:32:14 -04:00
parent f29c1301a3
commit b7b4b84afe
5 changed files with 40 additions and 2 deletions

View File

@@ -256,6 +256,7 @@ func (s *Server) InstallAuthFilter() {
func (s *Server) InstallDefaultHandlers() {
healthz.InstallHandler(s.restfulCont,
healthz.PingHealthz,
healthz.LogHealthz,
healthz.NamedCheck("syncloop", s.syncLoopHealthCheck),
)
ws := new(restful.WebService)