Skip to content

Commit

Permalink
Add metrics for syncer status
Browse files Browse the repository at this point in the history
Added metrics to collect the current count of syncers in each status.
  • Loading branch information
sawsa307 committed Feb 2, 2023
1 parent fffde4e commit ca9d8a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/neg/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func (c *Controller) Run(stopCh <-chan struct{}) {
wait.Until(c.gc, c.gcPeriod, stopCh)
}()
go c.reflector.Run(stopCh)
go c.syncerMetrics.Run(stopCh)
<-stopCh
}

Expand Down

0 comments on commit ca9d8a4

Please sign in to comment.