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 a948487 commit e137fdc
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 e137fdc

Please sign in to comment.