feat(cli): add DataDog Go tracer (#9411)

This commit is contained in:
Ammar Bandukwala
2023-08-29 22:14:28 +00:00
committed by GitHub
parent 9ceba20ea4
commit 16ef97a061
11 changed files with 156 additions and 4 deletions
+1
View File
@@ -2105,6 +2105,7 @@ func ConfigureTraceProvider(
sdkTracerProvider, _closeTracing, err := tracing.TracerProvider(ctx, "coderd", tracing.TracerOpts{
Default: cfg.Trace.Enable.Value(),
Coder: shouldCoderTrace,
DataDog: cfg.Trace.DataDog.Value(),
Honeycomb: cfg.Trace.HoneycombAPIKey.String(),
})
if err != nil {
+3
View File
@@ -201,6 +201,9 @@ introspection:
# which may incur significant costs.
# (default: <unset>, type: bool)
captureLogs: false
# Enables sending Go runtime traces to the local DataDog agent.
# (default: false, type: bool)
dataDog: false
logging:
# Output debug-level logs.
# (default: <unset>, type: bool)