Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
raghu-nandan-bs committed Oct 20, 2022
1 parent 62220a0 commit ddc51cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ const (
SLAVE_IS_READY = "CHECK_IF_SLAVE_IS_READY"
)

var ( // Used for GCing stale metrics
trackedIPs map[string]bool // IPs of either redis or sentinels that are being labelled every check and heal loop
trackedResources map[string]map[string]map[string]bool // namespace -> kind -> object
)

// Instrumenter is the interface that will collect the metrics and has ability to send/expose those metrics.
type Recorder interface {
koopercontroller.MetricsRecorder
Expand Down

0 comments on commit ddc51cc

Please sign in to comment.