diff --git a/cli/root.go b/cli/root.go index e1e5ac59aa..a94db39188 100644 --- a/cli/root.go +++ b/cli/root.go @@ -61,7 +61,7 @@ func initMatchersCompat(_ *kingpin.ParseContext) error { if err != nil { kingpin.Fatalf("error parsing the feature flag list: %v\n", err) } - compat.InitFromFlags(logger, compat.RegisteredMetrics, featureConfig) + compat.InitFromFlags(logger, compat.NewMetrics(nil), featureConfig) return nil }