Skip to content

Conversation

@dudikeleti
Copy link
Contributor

Motivation

The dotnet tracer adds new RC capabilities for remote enabling DI products. This PR add those capabilies to the dotnet DEFAULT_SUPPORTED_CAPABILITIES_BY_LANG

Changes

Capabilities.APM_TRACING_ENABLE_DYNAMIC_INSTRUMENTATION, Capabilities.APM_TRACING_ENABLE_EXCEPTION_REPLAY, Capabilities.APM_TRACING_ENABLE_CODE_ORIGIN, Capabilities.APM_TRACING_ENABLE_LIVE_DEBUGGING,

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed and the CI green, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

dudikeleti added a commit to DataDog/dd-trace-dotnet that referenced this pull request Sep 29, 2025
## Summary of changes
This PR adds remote enablement support for debugger products.
depends on #7441

## Reason for change
Currently, the only option to enable DI (for example) is by setting an
environment variable. We want to give customers the ability to enable
products on demand.

## Implementation details
Gets RC events with new configuration and update the products based on
defined rules.

## Test coverage
All existing tests
New system tests (DataDog/system-tests#4991)
DebuggerManagerTests
DebuggerManagerDynamicTests

---------

Co-authored-by: Andrew Lock <[email protected]>
@dudikeleti dudikeleti marked this pull request as ready for review September 30, 2025 10:12
@dudikeleti dudikeleti force-pushed the dudik/add-di-capabilities branch from 22ea5eb to c66e490 Compare September 30, 2025 10:12
@dudikeleti dudikeleti requested review from a team and mabdinur as code owners September 30, 2025 10:12
@dudikeleti dudikeleti merged commit 3386f6c into main Sep 30, 2025
30 checks passed
@dudikeleti dudikeleti deleted the dudik/add-di-capabilities branch September 30, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants