Skip to content

Commit

Permalink
Use local metrics registry
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Jan 9, 2025
1 parent c78d9cd commit fcfc8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ func (process *TeleportProcess) initAuthService() error {
return trace.Wrap(spiffeFedSyncer.Run(process.GracefulExitContext()), "running SPIFFEFederation Syncer")
})

agentRolloutController, err := rollout.NewController(authServer, logger, process.Clock, cfg.Auth.AgentRolloutControllerSyncPeriod, prometheus.DefaultRegisterer)
agentRolloutController, err := rollout.NewController(authServer, logger, process.Clock, cfg.Auth.AgentRolloutControllerSyncPeriod, process.metricsRegistry)
if err != nil {
return trace.Wrap(err, "creating the rollout controller")
}
Expand Down

0 comments on commit fcfc8fd

Please sign in to comment.