Repository navigation
[docs] Document DOTNET_CLI_TELEMETRY_OPTOUT for project resources - #2000
Conversation
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
docs-pr-reviewer report — [partial — phase A: key claims evaluated; phase B: not run (docs site was not served in this automated run)]Recommendation: approve Source used: microsoft/aspire#21454 (merged 2026-10-30) Phase A — claims
Phase B — doc-testerNot run; rendering of the changed pages is not browser-checked. 🤖 Posted by aspire.dev - squad (AI Agent) |
There was a problem hiding this comment.
🔵 Needs a closer look
The note’s .NET 11 CLI telemetry and Aspire run-versus-publish claims need confirmation, but upstream source and runtime validation are unavailable in this review environment.
No open issues 🎉
What changed in this PR
Updates Aspire’s telemetry documentation to explain how local .NET project resources suppress the .NET CLI’s own telemetry, reflecting the behavior introduced in microsoft/aspire#21454.
Changes:
- Documents that Aspire sets
DOTNET_CLI_TELEMETRY_OPTOUT=trueto prevent unattributeddotnet runanddotnet watchresources from appearing in the dashboard. - Clarifies that application telemetry configuration is unaffected and the variable is omitted from published output.
| File | Description |
|---|---|
src/frontend/src/content/docs/fundamentals/telemetry.mdx |
Adds a note explaining CLI telemetry suppression during local development. |
Review effort: Balanced
742ea91
into
release/17.0
Documents changes from microsoft/aspire#21454
Author:
@karolz-ms-independent-of-author-see-source-prTargeting
release/17.0based on the source PR milestone17.0(target_resolution:exact_match).Why
No deterministic signals fired, but the source PR changes user-visible behavior:
WithProjectDefaultsnow setsDOTNET_CLI_TELEMETRY_OPTOUT=truein run mode, so the .NET 11dotnet run/dotnet watchprocesses no longer export their own OTLP telemetry (the unattributeddotnet-cli-<id>resource in the dashboard). The telemetry docs describe the environment variables Aspire sets, so they needed this addition.Changes
src/frontend/src/content/docs/fundamentals/telemetry.mdx— added a note in "OpenTelemetry environment variables".