mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-02 20:38:09 +08:00
fix(scheduler): disable prometheus metrics handler (#22428)
This commit is contained in:
@@ -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))))
|
||||
|
||||
Reference in New Issue
Block a user