Use the Aspire Dashboard Standalone
Source: Dev.to
Quick Tip originally published on lukaswalter.dev.
Overview
Aspire is often seen as a full orchestration suite, but its Dashboard can run standalone.
Use it as a lightweight, OTLP‑compatible viewer for logs, traces, and metrics from any language (C#, Go, Python, etc.) without the overhead of the full suite.
Running the Dashboard
docker run --rm -it \
-p 18888:18888 \
-p 4317:18889 \
-p 4318:18890 \
--name aspire-dashboard \
mcr.microsoft.com/dotnet/aspire-dashboard:latestPorts
| Port | Purpose |
|---|---|
| 18888 | Dashboard UI |
| 4317 | OTLP/gRPC ingestion |
| 4318 | OTLP/HTTP ingestion |
Authentication
The dashboard is secured by default. After starting the container, it prints a login URL to the console. Retrieve it with:
docker logs YOUR-CONTAINER-NAMELook for a line similar to:
Login to the dashboard at http://0.0.0.0:18888/login?t=YOUR_TOKEN_HEREInstant Setup
- Set your OpenTelemetry exporter to
http://localhost:4317(orhttp://localhost:4318for HTTP) and the dashboard will start receiving data immediately.
Key Benefits
- Polyglot – Works with any OTLP‑compatible application, not just .NET.
- Local‑First – Ideal for the “inner loop” of development; no extra infrastructure required.
- Standalone – Provides a beautiful, real‑time UI without needing the full Aspire orchestration stack.