From 2b79f728d41e47d6e619d5b98399b4490b53e397 Mon Sep 17 00:00:00 2001 From: Christophe Nasarre Date: Wed, 16 Apr 2025 11:49:15 +0200 Subject: [PATCH 1/2] Add beta outgoing HTTP request profiling to .NET --- content/en/profiler/enabling/dotnet.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/en/profiler/enabling/dotnet.md b/content/en/profiler/enabling/dotnet.md index 6c275bc01bdc6..526cf3a339a98 100644 --- a/content/en/profiler/enabling/dotnet.md +++ b/content/en/profiler/enabling/dotnet.md @@ -66,7 +66,8 @@ The following profiling features are available in the following minimum versions | Live heap profiling beta | 2.22.0+ | .NET 7+ | | [Trace to Profiling integration][12] | 2.30.0+ | All supported runtime versions. | | [Endpoint Profiling][13] | 2.15.0+ | All supported runtime versions. | -| Timeline | 2.30.0+ | All supported runtime versions (except .NET 5+ required for garbage collection details). | +| Timeline | 2.30.0+ | All supported runtime versions (except .NET 5+ required for garbage collection details and .NET 7+ required for outgoing HTTP requests). | +| | 3.10.0+ for outgoing HTTP requests longer than 50 ms in beta | | - Allocations and Live Heap profiling are in beta until .NET 10 ships with the required changes for better statistical allocations sampling. - Continuous Profiler is not supported for AWS Lambda. @@ -463,7 +464,9 @@ You can configure the profiler using the following environment variables. Note t | `DD_PROFILING_ALLOCATION_ENABLED` | Boolean | If set to `true`, enables Allocation profiling (in Preview). Defaults to `false`. | | `DD_PROFILING_LOCK_ENABLED` | Boolean | If set to `true`, enables Lock Contention profiling. Defaults to `false`. | | `DD_PROFILING_HEAP_ENABLED` | Boolean | If set to `true`, enables Live Heap profiling (in Preview). Defaults to `false`. | -| `DD_PROFILING_GC_ENABLED` | Boolean | If set to `false`, disable Garbage Collection profiling used in Timeline user interface. Defaults to `true`. | +| `DD_PROFILING_GC_ENABLED` | Boolean | If set to `false`, disables Garbage Collection profiling used in Timeline user interface. Defaults to `true`. | +| `DD_INTERNAL_PROFILING_HTTP_ENABLED` | Boolean | If set to `true`, enables outgoing HTTP request profiling used in Timeline user interface. Defaults to `false`. | +
Note: For IIS applications, you must set environment variables in the Registry (under HKLM\System\CurrentControlSet\Services\WAS and HKLM\System\CurrentControlSet\Services\W3SVC nodes) as shown in the Windows Service tab, above. The environment variables are applied for all IIS applications. From 5bfc26461298c1d78b1a576c12864a4993441df7 Mon Sep 17 00:00:00 2001 From: Christophe Nasarre Date: Wed, 16 Apr 2025 13:04:41 +0200 Subject: [PATCH 2/2] Fix table layout --- content/en/profiler/enabling/dotnet.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/profiler/enabling/dotnet.md b/content/en/profiler/enabling/dotnet.md index 526cf3a339a98..31c92fa619f47 100644 --- a/content/en/profiler/enabling/dotnet.md +++ b/content/en/profiler/enabling/dotnet.md @@ -66,8 +66,7 @@ The following profiling features are available in the following minimum versions | Live heap profiling beta | 2.22.0+ | .NET 7+ | | [Trace to Profiling integration][12] | 2.30.0+ | All supported runtime versions. | | [Endpoint Profiling][13] | 2.15.0+ | All supported runtime versions. | -| Timeline | 2.30.0+ | All supported runtime versions (except .NET 5+ required for garbage collection details and .NET 7+ required for outgoing HTTP requests). | -| | 3.10.0+ for outgoing HTTP requests longer than 50 ms in beta | | +| Timeline | 2.30.0+ (and 3.10.0+ for outgoing HTTP requests longer than 50 ms in beta) | All supported runtime versions (except .NET 5+ required for garbage collection details and .NET 7+ required for outgoing HTTP requests). | - Allocations and Live Heap profiling are in beta until .NET 10 ships with the required changes for better statistical allocations sampling. - Continuous Profiler is not supported for AWS Lambda.