Skip to content

Commit

Permalink
Datadog: don't log startup for indexer (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreda authored Oct 4, 2023
1 parent e8e86ca commit f02b9eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/cmd/commands/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ func (c *Command) Run(args []string) int {
// Initialize Datadog.
dd := datadog.NewConfig(*cfg)
if dd.Enabled {
tracerOpts := []tracer.StartOption{}
tracerOpts := []tracer.StartOption{
tracer.WithLogStartup(false),
}

if dd.Env != "" {
tracerOpts = append(tracerOpts, tracer.WithEnv(dd.Env))
}
Expand Down

0 comments on commit f02b9eb

Please sign in to comment.