-
Notifications
You must be signed in to change notification settings - Fork 150
[Debugger Default-On] DEBUG-3322 Debugger in-product enablement #7366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
21a61b3
Implement dynamic configuration for debugger - wip
dudikeleti 4f6544a
do not send new config to intake
dudikeleti add49c9
delete LiveDebuggingEnabled config key
dudikeleti 3e7d5be
refine debugger manager and di initialization
dudikeleti 8582d3c
Do not use cancellation in dispose
dudikeleti 563831c
Simplify DI initialization
dudikeleti 72c276e
fix build
dudikeleti 03c61a6
Update debugger tests and fix debugger update logic
dudikeleti 249ca0f
remove ongoing cancelation from discovery service
dudikeleti a97002f
reduce logs and remove telemetries
dudikeleti 6d34303
Update tracer/src/Datadog.Trace/Debugger/ExceptionAutoInstrumentation…
dudikeleti d93e321
Update tracer/src/Datadog.Trace/Debugger/DynamicInstrumentation.cs
dudikeleti 9cb1162
naming
dudikeleti e708c80
guard against object disposed
dudikeleti 22b3840
1. delete leftover telemetry record
dudikeleti 93dce8c
Skip update if current == requested
dudikeleti 452f5a0
make DebuggerManager thread safe when enable/disable di
dudikeleti e1b6cd0
delete unneeded parameters
dudikeleti 97aa891
simplify configs and avoid initialize debugger in case products are e…
dudikeleti f651bae
fix di tests
dudikeleti 9026854
make sure that we don't create di objects before we need them
dudikeleti b0b910c
fix race during di state change
dudikeleti cd23737
delete delay in tests
dudikeleti 0b354eb
Don't use LongRunning and replace try\catch with ContinueWith
dudikeleti 40dba26
Use TaskCompletionSource insteac of CancellationTokenSource
dudikeleti 169f118
reduce logs
dudikeleti e7a649d
Delete unneeded Task.Run
dudikeleti 6ad39ad
fix build
dudikeleti b9d83a2
improve how we handle debugger settings and make symdb default true …
dudikeleti 3b01a27
Initialize at startup only when at least one product is enabled
dudikeleti 4242120
Remove private fields from settings and use Enabled & CanBeEnabled
dudikeleti 0c0211e
clean logs
dudikeleti 9e4dba0
add tests
dudikeleti 90e1e81
Fix code origin enabled logic
dudikeleti 9809a3e
fix compilation
dudikeleti 5acada6
Fix compilation
dudikeleti f9d6b23
Initialize SymbolUploader only if DI is explicitly enabled
dudikeleti 5a773fc
Do not skip on .net8 x86
dudikeleti d99b07b
Update span decoration and dynamic span integration tests to include …
dudikeleti f9a87f6
Revert "Do not skip on .net8 x86"
dudikeleti d7957ca
Delete DynamicInstrumentationTests since all covered in the new Debug…
dudikeleti 0808bc4
Skip memory assertion when there is a timeout
dudikeleti cb3e1da
Skip x86 .net 8 or greater, investigate in another pr
dudikeleti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tracer/src/Datadog.Trace/Debugger/Configurations/ImmutableDynamicDebuggerSettings.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| // <copyright file="ImmutableDynamicDebuggerSettings.cs" company="Datadog"> | ||
| // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. | ||
| // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. | ||
| // </copyright> | ||
|
|
||
| #nullable enable | ||
|
|
||
| namespace Datadog.Trace.Debugger.Configurations | ||
| { | ||
| internal record ImmutableDynamicDebuggerSettings | ||
| { | ||
| public bool? DynamicInstrumentationEnabled { get; init; } | ||
|
|
||
| public bool? ExceptionReplayEnabled { get; init; } | ||
|
|
||
| public bool? CodeOriginEnabled { get; init; } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.