[Dynamic Instrumentation] DEBUG-5018 Send logs to debugger intake by dudikeleti · Pull Request #8092 · DataDog/dd-trace-dotnet

@dudikeleti

lucaspimentel

@dudikeleti dudikeleti deleted the dudik/di/send-logs-to-debugger branch

January 23, 2026 13:56

dudikeleti added a commit that referenced this pull request

Jan 23, 2026
)

## Summary of changes
Updated logs to use the same preferred endpoint selection as snapshots.

## Reason for change
Logs should be sent to the debugger intake so we can redact them like
snapshots.

## Implementation details
Centralized endpoint fallback selection in AgentConfiguration:
DebuggerUploadEndpoint: `DebuggerV2Endpoint ?? DiagnosticsEndpoint`
(used by snapshots and logs)
DebuggerDiagnosticsUploadEndpoint: `DiagnosticsEndpoint ??
DebuggerEndpoint` (used by diagnostics)
Updated upload APIs to use the centralized properties:
SnapshotUploadApi → `c.DebuggerUploadEndpoint`
LogUploadApi → `c.DebuggerUploadEndpoint`
DiagnosticsUploadApi → `c.DebuggerDiagnosticsUploadEndpoint`