Skip to content

Conversation

@gamingrobot
Copy link
Contributor

DOTNET_EnableDiagnostics=0 or COMPlus_EnableDiagnostics=0

For .NET 8.0+ DOTNET_EnableDiagnostics=0 disables profiling, but we can't just set this to 1 because it breaks read-only containers for older versions of .NET so we log a warning instead.

This only detects/warns if it is set within the pod spec, the agent-operator can't see if its set within the Dockerfile.

…cs=0

For .NET 8.0+ DOTNET_EnableDiagnostics=0 disables profiling, but we can't just set this to 1 because it breaks read-only containers for older versions of .NET so we log a warning instead.
@gamingrobot gamingrobot requested a review from a team as a code owner November 20, 2025 22:33
@gamingrobot gamingrobot merged commit 309e97f into master Nov 20, 2025
17 checks passed
@gamingrobot gamingrobot deleted the AO-111-dotnet-diagnostics branch November 20, 2025 22:46
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.

2 participants