fix(scheduler): disable prometheus metrics handler (#22428)

This commit is contained in:
Zexi Li
2025-04-16 10:35:03 +08:00
committed by GitHub
parent ce77468604
commit a9d8445603
+1 -1
View File
@@ -151,7 +151,7 @@ func startHTTP(app *appsrv.Application, opt *o.SchedulerOptions) error {
router.Use(middleware.ErrorHandler)
router.Use(middleware.KeystoneTokenVerifyMiddleware())
prometheus.InstallHandler(router)
// prometheus.InstallHandler(router)
schedhandler.InstallHandler(router)
server := appsrv.InitHTTPServer(app, net.JoinHostPort(opt.Address, strconv.Itoa(int(opt.Port))))