Repository navigation
[docs] Document dashboard connection lost message for otel logs/spans --follow - #1819
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
aspire-repo-bot[bot] wants to merge 1 commit into
Conversation
…--follow Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4 of 14 tasks
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
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.
Documents changes from microsoft/aspire#20542
@JamesNKTarget branch: Targeting
release/17.0based on the source PR milestone17.0.Why
microsoft/aspire#20542 reduces AppHost log noise and adds a new user-visible behavior: when
aspire otel logs --followoraspire otel spans --followis streaming and the dashboard connection closes (an expected disconnect, such as dashboard shutdown or a truncated chunked response), the CLI now prints "The connection to the dashboard was lost." to stderr and exits successfully, instead of surfacing a raw I/O exception. This is implemented byStreamReader.ReadLinesWithDisconnectHandlingAsyncand the newTelemetryCommandStrings.DashboardConnectionLostresource string, and is covered byTelemetryFollowTests.The other changes in the source PR (auxiliary backchannel disconnect handling in
aspire ps, resource-readiness log suppression, HTTP client factory log filtering) only reduce internal Debug-level log noise on paths that were never documented, so no further doc updates were needed for those.What changed
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-logs.mdx: Updated the-f, --followoption description to note the new dashboard-disconnect message and successful exit behavior.src/frontend/src/content/docs/reference/cli/commands/aspire-otel-spans.mdx: Same update for theaspire otel spanscommand.Both are updates to existing pages; no new pages were created.