Skip to content

[docs] Dashboard telemetry API defaults and otel command standalone usage#732

Merged
IEvangelist merged 1 commit intorelease/13.3from
docs/pr-16326-dashboard-api-defaults-d63365865374aa44
Apr 21, 2026
Merged

[docs] Dashboard telemetry API defaults and otel command standalone usage#732
IEvangelist merged 1 commit intorelease/13.3from
docs/pr-16326-dashboard-api-defaults-d63365865374aa44

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#16326

Thanks to @JamesNK for the implementation.

Why this PR is needed

PR microsoft/aspire#16326 changed the default behavior of the Aspire Dashboard's telemetry API and improved the aspire otel CLI commands for standalone dashboard use. The existing documentation had outdated defaults and was missing documentation for key CLI options.

What changed

Dashboard API configuration (dashboard/configuration.mdx)

The dashboard's Telemetry HTTP API is now enabled by default (previously required explicit opt-in):

  • Dashboard:Api:Enabled — default changed from false to true; marked as deprecated (use Dashboard:Api:Disabled instead)
  • Dashboard:Api:Disabled — new config option; set to true to disable the API; also available as ASPIRE_DASHBOARD_API_DISABLED environment variable
  • Dashboard:Api:AuthMode — default changed from Unsecured to ApiKey
  • Dashboard:Api:PrimaryApiKey — default updated to note that a 128-bit key is auto-generated when none is supplied

aspire otel CLI commands (reference/cli/commands/aspire-otel*.mdx)

Added previously undocumented --dashboard-url and --api-key options to aspire otel logs, aspire otel spans, and aspire otel traces. The key new behavior:

  • --dashboard-url now accepts a full login URL (for example, `(localhost/redacted) — the browser token is automatically exchanged for an API key, so users can copy-paste the dashboard login URL directly
  • Updated the aspire otel parent page description to highlight standalone dashboard usage

Files modified

File Change
src/frontend/src/content/docs/dashboard/configuration.mdx Updated API section defaults; added Dashboard:Api:Disabled
src/frontend/src/content/docs/reference/cli/commands/aspire-otel.mdx Updated description to mention standalone dashboard and login URL
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-logs.mdx Added --dashboard-url, --api-key options and login URL example
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-spans.mdx Added --dashboard-url, --api-key options and login URL example
src/frontend/src/content/docs/reference/cli/commands/aspire-otel-traces.mdx Added --dashboard-url, --api-key options and login URL example

Note

This is a draft PR that needs human review before merging. Please verify the exact option names and descriptions match the shipped CLI behavior.

Generated by PR Documentation Check for issue #16326 · ● 5.5M ·

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Apr 21, 2026
@JamesNK JamesNK force-pushed the docs/pr-16326-dashboard-api-defaults-d63365865374aa44 branch 2 times, most recently from 30d0122 to 4b8e2e0 Compare April 21, 2026 04:00
@JamesNK JamesNK changed the base branch from main to release/13.3 April 21, 2026 04:01
@JamesNK JamesNK force-pushed the docs/pr-16326-dashboard-api-defaults-d63365865374aa44 branch 3 times, most recently from fe40830 to ed73df4 Compare April 21, 2026 04:23
- Dashboard:Api:Enabled now defaults to true (API enabled by default)
- Dashboard:Api:AuthMode now defaults to ApiKey
- Add Dashboard:Api:Disabled as the new preferred config to disable the API
- Mark Dashboard:Api:Enabled as deprecated in docs
- Update PrimaryApiKey default to note auto-generation
- Add --dashboard-url and --api-key options to aspire otel logs/spans/traces
- Document login URL support: passing http://host/login?t=<token> auto-exchanges the token for an API key
- Update aspire otel main page description to mention standalone dashboard usage

Documents changes from microsoft/aspire#16326

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@JamesNK JamesNK force-pushed the docs/pr-16326-dashboard-api-defaults-d63365865374aa44 branch from ed73df4 to 8643486 Compare April 21, 2026 04:24
@JamesNK JamesNK marked this pull request as ready for review April 21, 2026 04:25
@IEvangelist IEvangelist merged commit a6d6f34 into release/13.3 Apr 21, 2026
1 check passed
@IEvangelist IEvangelist deleted the docs/pr-16326-dashboard-api-defaults-d63365865374aa44 branch April 21, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant