Skip to content

Commit

Permalink
add work queue metrics for agent and controller-manager
Browse files Browse the repository at this point in the history
Signed-off-by: Garrybest <[email protected]>
  • Loading branch information
Garrybest committed Oct 19, 2021
1 parent b83ce6f commit 5d4afd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/agent/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main

import (
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

apiserver "k8s.io/apiserver/pkg/server"
"k8s.io/component-base/logs"
"k8s.io/klog/v2"
Expand Down
2 changes: 2 additions & 0 deletions cmd/scheduler-estimator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import (
"fmt"
"os"

_ "sigs.k8s.io/controller-runtime/pkg/metrics"

apiserver "k8s.io/apiserver/pkg/server"
"k8s.io/component-base/logs"

Expand Down

0 comments on commit 5d4afd2

Please sign in to comment.