Optional: This step is not required to run the workshop. The Aspire Dashboard provides a rich UI for viewing OpenTelemetry traces, metrics, and logs in real-time — useful for observing agent behaviour, LLM prompt flows, and tool calls during local development.
The .NET Aspire Dashboard is a web-based UI for viewing OpenTelemetry traces, metrics, and logs in real-time.
For full setup details, see the reference guide: aspire-dashboard-setup.md
- Docker: The Aspire Dashboard runs in a Docker container.
-
Pull the latest Aspire Dashboard Docker image:
docker pull mcr.microsoft.com/dotnet/aspire-dashboard:latest
-
Run the Aspire Dashboard container:
docker run --rm -it -p 18888:18888 -p 4317:18889 -d --name aspire-dashboard \ -e DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true \ mcr.microsoft.com/dotnet/aspire-dashboard:latest
This starts the dashboard and maps:
- Port
18888— web UI - Port
4317— OTLP endpoint (used by the application to send telemetry)
The
DOTNET_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=trueenvironment variable allows unauthenticated access, suitable for local development. - Port
-
Open the dashboard:
- Local: Navigate to http://localhost:18888
- GitHub Codespaces: Go to the Ports panel in VS Code, find port 18888, and click the globe icon to open it in your browser.
The dashboard has three main tabs:
| Tab | What you can see |
|---|---|
| Traces | Distributed traces, execution flow, LLM prompts, and tool calls (when sensitive data is enabled) |
| Metrics | Application performance metrics and resource utilization |
| Logs | Structured logs with filtering and search |