Skip to content

Commit

Permalink
clustersynchro: add resource synchro metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Iceber Gu <[email protected]>
  • Loading branch information
Iceber committed Jan 2, 2025
1 parent 30cc801 commit f5fbaa3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/clustersynchro-manager/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ func (o *Options) Config() (*config.Config, error) {
kubeStateMetricsServerConfig := o.KubeStateMetrics.ServerConfig(metricsConfig)

if config := o.Metrics.ResourceSynchroConfig(); config != resourcesynchro.DefaultMetricsWrapperFactory.Config() {
fmt.Printf("##############%#v\n", config)
resourcesynchro.DefaultMetricsWrapperFactory = resourcesynchro.NewMetricsWrapperFactory(config)
}

Expand Down

0 comments on commit f5fbaa3

Please sign in to comment.