From 620488656f79c3944c7dfa92165ac55d2408d966 Mon Sep 17 00:00:00 2001 From: Salva Corts Date: Tue, 20 Feb 2024 15:54:49 +0100 Subject: [PATCH] Set tracing.profiling-enabled to true by default (#12004) --- pkg/tracing/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tracing/config.go b/pkg/tracing/config.go index f9faefa6a7303..a0877a9ce836f 100644 --- a/pkg/tracing/config.go +++ b/pkg/tracing/config.go @@ -11,6 +11,7 @@ type Config struct { func (cfg *Config) RegisterFlags(f *flag.FlagSet) { f.BoolVar(&cfg.Enabled, "tracing.enabled", true, "Set to false to disable tracing.") + f.BoolVar(&cfg.ProfilingEnabled, "tracing.profiling-enabled", true, "Set to true to enable profiling integration.") } func (cfg *Config) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet) {