Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 22635e7

Browse files
authored
Merge pull request #1382 from mars1024/bugfix/metrics-register
bugfix: register workqueue metrics in controller-runtime firstly
2 parents 16b2f5c + 5edc515 commit 22635e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/controller-manager/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import (
2020
"fmt"
2121
"os"
2222

23+
_ "sigs.k8s.io/controller-runtime/pkg/metrics" // for workqueue metrics registration
24+
2325
genericapiserver "k8s.io/apiserver/pkg/server"
2426
_ "k8s.io/client-go/plugin/pkg/client/auth" // Load all client auth plugins for GCP, Azure, Openstack, etc
2527
"k8s.io/component-base/logs"

0 commit comments

Comments
 (0)