[fix] Replace deprecated SetupMetrics with SetupMetricsOptions
#10301
Loading
SetupMetrics with SetupMetricsOptions
#10301