Skip to content

Commit

Permalink
Update pkg/tools/benchmark/job/usecase/benchmarkd.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hiroto Funakoshi <hiroto.funakoshi.hiroto@gmail.com>
Signed-off-by: Kiichiro YUKAWA <kyukawa315@gmail.com>
  • Loading branch information
vankichi and hlts2 committed Apr 16, 2024
1 parent 07eee1e commit 3e81caa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/tools/benchmark/job/usecase/benchmarkd.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,10 @@ func New(cfg *config.Config) (r runner.Runner, err error) {
if err != nil {
return nil, err
}
var str []string
str = append(str, "metric")
clientInterceptors = append(clientInterceptors, "metric"}
if cfg.Observability.Trace.Enabled {
str = append(str, "trace")
clientInterceptors = append(clientInterceptors, "trace"}
}
clientInterceptors = str
}

copts, err := cfg.Job.ClientConfig.Opts()
Expand Down

0 comments on commit 3e81caa

Please sign in to comment.