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 03f44f4 commit 490817c
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 @@ -174,6 +174,7 @@ func NewController(

syncerMetrics := metrics.NewNegMetricsCollector(flags.F.NegMetricsExportInterval, logger)

go syncerMetrics.Run(make(chan struct{}))
manager := newSyncerManager(
namer,
recorder,
Expand Down

0 comments on commit 490817c

Please sign in to comment.