We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f60bc commit 70efb72Copy full SHA for 70efb72
cmd/bb_scheduler/main.go
@@ -209,7 +209,11 @@ func main() {
209
}
210
subrouter := router.PathPrefix(routePrefix).Subrouter()
211
newBuildQueueStateService(buildQueue, clock.SystemClock, browserURL, subrouter)
212
- if err := http.NewServersFromConfigurationAndServe(configuration.AdminHttpServers, router, siblingsGroup); err != nil {
+ if err := http.NewServersFromConfigurationAndServe(
213
+ configuration.AdminHttpServers,
214
+ http.NewMetricsHandler(router, "SchedulerUI"),
215
+ siblingsGroup,
216
+ ); err != nil {
217
return util.StatusWrap(err, "Failed to create admin HTTP servers")
218
219
0 commit comments