code: func NewBaseHandler(c *componentbaseconfig.DebuggingConfiguration, checks ...healthz.HealthzChecker) *mux.PathRecorderMux {
  	mux := mux.NewPathRecorderMux("controller-manager")
  	healthz.InstallHandler(mux, checks...)
  	if c.EnableProfiling {
  		routes.Profiling{}.Install(mux)
  		if c.EnableContentionProfiling {
  			goruntime.SetBlockProfileRate(1)
  		}
  	}
  	configz.InstallHandler(mux)
  	mux.Handle("/metrics", prometheus.Handler())
  
  	return mux
  }
docs: // NewBaseHandler takes in CompletedConfig and returns a handler.