Skip to content

Commit

Permalink
Fix router tracing activation
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Oct 31, 2023
1 parent 0553f75 commit 609cdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/router/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func main() {
log.Fatal().Msgf("Failed to read parameters from yaml file; %v", err)
}

tracingProvider, err := tracing.NewProvider(context.Background(), "router", "localhost:4317", true)
tracingProvider, err := tracing.NewProvider(context.Background(), "router", "localhost:4317", !parameters.Trace)
if err != nil {
log.Fatal().Msgf("Failed to create tracing provider; %v", err)
}
Expand Down

0 comments on commit 609cdf3

Please sign in to comment.