Skip to content

Commit

Permalink
Disable datadog trace startup logs
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Jun 3, 2024
1 parent 28e8255 commit 71ebabd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/tracer/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ package tracer

import (
ddTracer "gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
"os"
)

func StartTracer() {
os.Setenv("DD_TRACE_STARTUP_LOGS", "false")
ddTracer.Start(
ddTracer.WithGlobalServiceName(true),
ddTracer.WithDebugMode(false),
Expand Down

0 comments on commit 71ebabd

Please sign in to comment.