diff --git a/pkg/tools/benchmark/job/usecase/benchmarkd.go b/pkg/tools/benchmark/job/usecase/benchmarkd.go index 6f8e26d7721..b78a353a18d 100644 --- a/pkg/tools/benchmark/job/usecase/benchmarkd.go +++ b/pkg/tools/benchmark/job/usecase/benchmarkd.go @@ -75,9 +75,11 @@ func New(cfg *config.Config) (r runner.Runner, err error) { if err != nil { return nil, err } - clientInterceptors = append(clientInterceptors, "metric"} + // Add interceptors regardless of whether it is set in config. + // Because it is the benchmark job and requires metrics for measure benchmark result. + clientInterceptors = append(clientInterceptors, "metric") if cfg.Observability.Trace.Enabled { - clientInterceptors = append(clientInterceptors, "trace"} + clientInterceptors = append(clientInterceptors, "trace") } }