Skip to content

document DOTNET_EventPipeThreadSamplingRate#53393

Merged
pavelsavara merged 6 commits intodotnet:mainfrom
pavelsavara:sampling_freq
May 6, 2026
Merged

document DOTNET_EventPipeThreadSamplingRate#53393
pavelsavara merged 6 commits intodotnet:mainfrom
pavelsavara:sampling_freq

Conversation

@pavelsavara
Copy link
Copy Markdown
Member

@pavelsavara pavelsavara commented Apr 27, 2026

@pavelsavara pavelsavara self-assigned this Apr 27, 2026
@dotnetrepoman dotnetrepoman Bot added this to the April 2026 milestone Apr 27, 2026
Comment thread docs/core/runtime-config/debugging-profiling.md Outdated
Comment thread docs/core/diagnostics/eventpipe.md Outdated
Comment thread docs/core/diagnostics/eventpipe.md Outdated
Comment thread docs/core/runtime-config/debugging-profiling.md Outdated
Comment thread docs/core/runtime-config/debugging-profiling.md Outdated
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@pavelsavara pavelsavara marked this pull request as ready for review April 29, 2026 06:06
Copilot AI review requested due to automatic review settings April 29, 2026 06:06
@pavelsavara pavelsavara requested review from a team, gewarren and tommcdon as code owners April 29, 2026 06:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the DOTNET_EventPipeThreadSamplingRate environment variable and links readers to the EventPipe environment-variable tracing documentation so they can tune thread sampling frequency when collecting traces.

Changes:

  • Add DOTNET_EventPipeThreadSamplingRate to the EventPipe environment variables list, including defaults and behavior.
  • Add a tip to dotnet-trace profiles describing how to adjust the sampling rate via DOTNET_EventPipeThreadSamplingRate.
  • Add a cross-link from runtime debugging/profiling config docs to the EventPipe environment-variable tracing section.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/core/runtime-config/debugging-profiling.md Adds a pointer to EventPipe environment-variable tracing docs.
docs/core/diagnostics/eventpipe.md Documents DOTNET_EventPipeThreadSamplingRate behavior and defaults.
docs/core/diagnostics/dotnet-trace.md Mentions how the dotnet-sampled-thread-time profile’s sampling rate can be configured.

Comment thread docs/core/diagnostics/dotnet-trace.md
Comment thread docs/core/diagnostics/eventpipe.md Outdated
@pavelsavara pavelsavara merged commit 7fe1cca into dotnet:main May 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants