Clarify .NET profiler overhead guidance by install method. - #39132
Merged
anandreshmi46 merged 14 commits intoAug 19, 2026
Merged
Clarify .NET profiler overhead guidance by install method.#39132anandreshmi46 merged 14 commits into
anandreshmi46 merged 14 commits into
Conversation
Add platform tabs under machine-wide profiling so Linux SSI, manual Linux, and Windows each have scoped reduce-overhead steps without mixing IIS-only advice into SSI flows. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Preview links (active after the
|
rtrieu
requested changes
Aug 12, 2026
rtrieu
left a comment
Contributor
There was a problem hiding this comment.
some minor feedback for your consideration
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
rtrieu
reviewed
Aug 13, 2026
rtrieu
reviewed
Aug 13, 2026
| To reduce overhead: | ||
|
|
||
| - Use `DD_PROFILING_ENABLED=auto` instead of `true` when enabling profiling host-wide. With `auto`, profiling starts only when the application has run for more than 30 seconds **and** at least one trace was created. | ||
| - Use [instrumentation rules][6] to limit which processes receive SSI. |
Contributor
There was a problem hiding this comment.
this link needs to be placed within the tab in order to render
Suggested change
| - Use [instrumentation rules][6] to limit which processes receive SSI. | |
| - Use [instrumentation rules][101] to limit which processes receive SSI. |
rtrieu
requested changes
Aug 13, 2026
rtrieu
left a comment
Contributor
There was a problem hiding this comment.
hi @anandreshmi46 noticed a link isn't rendering, and added a few comments. please request a re-review when ready!
| - Use `DD_PROFILING_ENABLED=auto` instead of `true` when enabling profiling host-wide. With `auto`, profiling starts only when the application has run for more than 30 seconds **and** at least one trace was created. | ||
| - Use [instrumentation rules][6] to limit which processes receive SSI. | ||
| - Set `DD_PROFILING_ENABLED=false` in a specific process environment to opt that process out of profiling. Tracing is not affected. | ||
|
|
Contributor
There was a problem hiding this comment.
Suggested change
| [6]: /tracing/trace_collection/single-step-apm/linux/#define-instrumentation-rules |
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Move link definitions out of Hugo tabs to the page footer so instrumentation rules and enabling links render correctly. Co-authored-by: Cursor <cursoragent@cursor.com>
rtrieu
requested changes
Aug 17, 2026
rtrieu
left a comment
Contributor
There was a problem hiding this comment.
hi @anandreshmi46, the links must be within the tabs in order for them to work.
| @@ -147,8 +145,6 @@ If it is set to another value or not set at all, the profiler is disabled. | |||
|
|
|||
| Note that the following message could appear, but it does not impact Datadog profiling: `Profiler signal handler has been replaced. Restoring it.` This indicates only that the Datadog signal handler is reinstalled when it was overwritten. | |||
|
|
|||
Contributor
There was a problem hiding this comment.
Suggested change
| [4]: /profiler/enabling/dotnet/?tab=linux#configuration |
| @@ -85,8 +85,6 @@ If you've configured the profiler and don't see profiles in the profile search p | |||
| - The application ran for more than 30 seconds | |||
| If it is set to another value or not set at all, the profiler is disabled. | |||
|
|
|||
Contributor
There was a problem hiding this comment.
Suggested change
| [4]: /profiler/enabling/dotnet/?tab=linux#configuration |
| @@ -147,8 +145,6 @@ If it is set to another value or not set at all, the profiler is disabled. | |||
|
|
|||
| Note that the following message could appear, but it does not impact Datadog profiling: `Profiler signal handler has been replaced. Restoring it.` This indicates only that the Datadog signal handler is reinstalled when it was overwritten. | |||
|
|
|||
| @@ -200,8 +196,6 @@ The default profiler log directory is `%ProgramData%\Datadog .NET Tracer\logs\`. | |||
|
|
|||
| 5. Check the other HTTP codes for possible errors such as 403 for invalid API key. | |||
|
|
|||
Reference links inside tabs must be defined within the same tab to render correctly in the docs site. Co-authored-by: Cursor <cursoragent@cursor.com>
rtrieu
approved these changes
Aug 17, 2026
anandreshmi46
deleted the
reshmi/dotnet-profiler-reduce-overhead-troubleshooting
branch
August 19, 2026 16:45
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add platform tabs under machine-wide profiling so Linux SSI, manual Linux, and Windows each have scoped reduce-overhead steps without mixing IIS-only advice into SSI flows.
What does this PR do? What is the motivation?
Merge readiness
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.AI assistance
Additional notes