CLI: Dashboard telemetry passthrough when launched from the CLI
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
## Summary
Pass through dashboard telemetry when the dashboard is launched from the CLI, similar to how it is done in Visual Studio and the VS Code C# extension today.
## Description
When the Aspire dashboard is launched via the CLI (`aspire run`), dashboard telemetry is not currently forwarded. In VS and the VS Code C# extension, dashboard telemetry is gathered and forwarded. The CLI needs parity with this behavior.
## Work Required
This is a significant effort spanning multiple areas:
### Product Work
- Stand up a web server in the CLI to receive telemetry from the dashboard
- Gather and resend dashboard telemetry from the web server endpoint
- Forward collected telemetry onward to the telemetry pipeline
### Telemetry System Work
- Translate CLI-sent dashboard telemetry into the same format as VS/VS Code-sent dashboard telemetry
- Merge CLI-originated dashboard telemetry together with telemetry from other sources
- Ensure consistency and compatibility with the existing telemetry schema used by VS and VS Code
## Context
Today, when the dashboard is hosted by VS or VS Code (C# extension), those hosts are responsible for collecting and forwarding dashboard telemetry. The CLI currently lacks this capability, meaning dashboard usage telemetry is lost when running via `aspire run`.
Contributor guide
Assessment
This issue has not been assessed yet.