Skip to content

Commit

Permalink
Merge pull request #831 from Garrybest/pr_metrics
Browse files Browse the repository at this point in the history
add work queue metrics for agent and controller-manager
  • Loading branch information
karmada-bot authored Oct 20, 2021
2 parents e9f4bde + 5d4afd2 commit 0ab7333
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 0ab7333

Please sign in to comment.