Skip to content

Commit

Permalink
Merge pull request #87967 from zhan849/harry/controller-queue-metrics
Browse files Browse the repository at this point in the history
register queue metrics in controller manager
  • Loading branch information
k8s-ci-robot committed Feb 14, 2020
2 parents 461a494 + 63f0078 commit 029e1a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/controller-manager/app/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go_library(
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
"//staging/src/k8s.io/component-base/config:go_default_library",
"//staging/src/k8s.io/component-base/metrics/legacyregistry:go_default_library",
"//staging/src/k8s.io/component-base/metrics/prometheus/workqueue:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
],
)
Expand Down
1 change: 1 addition & 0 deletions cmd/controller-manager/app/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"k8s.io/apiserver/pkg/server/routes"
componentbaseconfig "k8s.io/component-base/config"
"k8s.io/component-base/metrics/legacyregistry"
_ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metric registration
"k8s.io/kubernetes/pkg/api/legacyscheme"
"k8s.io/kubernetes/pkg/util/configz"
)
Expand Down

0 comments on commit 029e1a0

Please sign in to comment.