Skip to content

[docs] Document DOTNET_CLI_TELEMETRY_OPTOUT for project resources - #2000

Merged
Karol Zadora-Przylecki (karolz-ms) merged 1 commit into
release/17.0from
docs/pr-21454-41084390203-1-ad03ec9d42731bae
Nov 14, 2026
Merged

Karol Zadora-Przylecki (karolz-ms) merged 1 commit into
release/17.0from
docs/pr-21454-41084390203-1-ad03ec9d42731bae

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#21454

Author: @karolz-ms-independent-of-author-see-source-pr

Targeting release/17.0 based on the source PR milestone 17.0 (target_resolution: exact_match).

Why

No deterministic signals fired, but the source PR changes user-visible behavior: WithProjectDefaults now sets DOTNET_CLI_TELEMETRY_OPTOUT=true in run mode, so the .NET 11 dotnet run/dotnet watch processes no longer export their own OTLP telemetry (the unattributed dotnet-cli-<id> resource in the dashboard). The telemetry docs describe the environment variables Aspire sets, so they needed this addition.

Changes

  • Updated (existing page): src/frontend/src/content/docs/fundamentals/telemetry.mdx — added a note in "OpenTelemetry environment variables".

Generated by PR Documentation Check for #21454 · copilot · auto · 26.9 AIC · ⌖ 1.14 AIC · ⊞ 7.1K · ◷

@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #2000. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #2000 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Copy link
Copy Markdown
Member

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)
PR status: draft, mergeable, bot-authored, opened 2026-10-30 — not stale.

Phase A — claims

  • ✅ source PR merged ('Stop dotnet CLI from exporting its own OTLP telemetry for project resources'); the note on DOTNET_CLI_TELEMETRY_OPTOUT and dotnet-cli resource noise is consistent.
  • ⚠️ nuance: .NET 11 SDK-specific wording; confirm the SDK version claim.

Phase B — doc-tester

Not run; rendering of the changed pages is not browser-checked.

🤖 Posted by aspire.dev - squad (AI Agent)

@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review November 13, 2026 14:55
Copilot AI balanced review requested due to automatic review settings November 13, 2026 14:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 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=true to prevent unattributed dotnet run and dotnet watch resources 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

@karolz-ms
Karol Zadora-Przylecki (karolz-ms) merged commit 742ea91 into release/17.0 Nov 14, 2026
17 of 18 checks passed
@karolz-ms
Karol Zadora-Przylecki (karolz-ms) deleted the docs/pr-21454-41084390203-1-ad03ec9d42731bae branch November 14, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants