Fix otel commands for dev.localhost dashboard URLs - #16688
Closed
David Fowler (davidfowl) with Copilot wants to merge 3 commits into
Closed
Fix otel commands for dev.localhost dashboard URLs#16688David Fowler (davidfowl) with Copilot wants to merge 3 commits into
David Fowler (davidfowl) with Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/6a008f86-1bf8-4476-aa5c-b217eba541b8 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/6a008f86-1bf8-4476-aa5c-b217eba541b8 Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix aspire otel commands failing with 'No such host is known' error
Fix otel commands for dev.localhost dashboard URLs
May 2, 2026
Member
|
Replaced by #16708 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description
aspire otelcommands can receive AppHost-discovered dashboard API URLs using*.dev.localhost, which may not resolve from the CLI process even though the dashboard is reachable onlocalhost. This causes telemetry commands such asotel traces,otel logs, andotel spansto fail before contacting the dashboard API.*.dev.localhostdashboard API URLs tolocalhost.Telemetry command coverage
otelcommands create dashboard API requests.Shared MCP path
Regression coverage
*.dev.localhostdashboard API URL, verifying telemetry requests are sent tolocalhost.Checklist
<remarks />and<code />elements on your triple slash comments?aspire.devissue:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
7k6vsblobprodcus337.vsblob.vsassets.io/usr/share/dotnet/dotnet dotnet test --project tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class *.TelemetryCommandTests --filter-not-trait quarantined=true --filter-not-trait outerloop=true(dns block)If you need me to access, download, or install something from one of these locations, you can either: