|
19 | 19 | - Loader/home: Build outputs publish a "monitoring home"; the native loader boots the tracer from there. |
20 | 20 | - Build system: Nuke coordinates .NET builds and CMake/vcpkg for native components. |
21 | 21 |
|
| 22 | +## NuGet Package Architecture |
| 23 | + |
| 24 | +### Datadog.Trace Package |
| 25 | +The `Datadog.Trace` NuGet package provides the **manual instrumentation API** for customers: |
| 26 | +- **Contains**: `Datadog.Trace.Manual.dll` - Public API for manual instrumentation |
| 27 | +- **Does NOT contain**: Auto-instrumentation code or native profiler binaries |
| 28 | +- **Usage**: Reference in application code for manual tracing (e.g., `Tracer.Instance.StartActive()`) |
| 29 | + |
| 30 | +Auto-instrumentation comes from the tracer "monitoring home" deployed separately (via installers, MSI, container images, or specialized packages like `Datadog.AzureFunctions`). |
| 31 | + |
| 32 | +### Datadog.Trace.dll vs Datadog.Trace.Manual.dll |
| 33 | +- `Datadog.Trace.dll` - The full managed tracer with all auto-instrumentation code, loaded by the native profiler into instrumented processes |
| 34 | +- `Datadog.Trace.Manual.dll` - Lightweight manual instrumentation API packaged in the `Datadog.Trace` NuGet package for customer reference |
| 35 | + |
| 36 | +### Specialized Packages |
| 37 | +- **Datadog.AzureFunctions**: Bundles `Datadog.Trace.dll` and native profiler for Azure Functions (see `docs/development/AzureFunctions.md`) |
| 38 | +- **Datadog.Monitoring.Distribution**: MSI installer for Windows (IIS, Windows Services) |
| 39 | +- Other serverless/platform-specific packages may bundle the full tracer similarly |
| 40 | + |
22 | 41 | ## Tracer Structure |
23 | 42 |
|
24 | 43 | - `tracer/src/Datadog.Trace` — Core managed tracer library |
@@ -299,6 +318,7 @@ The tracer runs in-process with customer applications and must have minimal perf |
299 | 318 | - `docs/development/AzureFunctions-Architecture.md` — Azure Functions architecture deep dive |
300 | 319 | - `docs/development/Serverless.md` — Serverless instrumentation |
301 | 320 | - `docs/development/UpdatingTheSdk.md` — SDK updates |
| 321 | +- `docs/development/QueryingDatadogAPIs.md` — Querying Datadog APIs for debugging (spans, logs) |
302 | 322 |
|
303 | 323 | **CI & Testing:** |
304 | 324 | - `docs/development/CI/TroubleshootingCIFailures.md` — Investigating build/test failures in Azure DevOps |
|
0 commit comments