aspire-monitoring

Inspect Aspire app logs, traces, metrics, and resource state via the Aspire CLI.

1|Updated Jul 7, 2026
One-click install
npx skills add https://github.com/seiggy/maf-copilot-studio-demo --skill aspire-monitoring-seiggy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire-monitoring
Source: https://github.com/seiggy/maf-copilot-studio-demo/tree/main/.agents/skills/aspire-monitoring
Command: npx skills add https://github.com/seiggy/maf-copilot-studio-demo --skill aspire-monitoring-seiggy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Diagnosing issues in distributed Aspire applications requires knowing where telemetry lives—locally via the Aspire CLI, in a standalone dashboard, or in deployed environments like AKS and Azure Container Apps. This Skill routes observability requests to the correct tool and provides the exact commands for each scenario. ## Core Features & Use Cases - Local Telemetry Inspection: Query console logs, structured OpenTelemetry logs, distributed traces, and spans with aspire logs, aspire otel logs, aspire otel traces, and aspire otel spans. - Resource State Discovery: Use aspire describe and aspire ps (with --include-hidden for proxies and helper containers) to find endpoints and health status. - Diagnostics Routing: Decision tree routes deployed-app diagnostics to kubectl, azure-diagnostics, or Docker CLI based on the hosting target. - Standalone Dashboard: Launch aspire dashboard run as a background process and query it remotely via --dashboard-url and --api-key. - Use Case: When an API resource returns errors, run aspire otel logs apiservice --search "error" to find structured log entries, then correlate with aspire otel traces to identify the failing dependency. ## Quick Start Ask the assistant to show the structured logs and current resource state of your running Aspire app.

Frequently Asked Questions about aspire-monitoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I view logs for an Aspire resource?

Run `aspire logs <resource>` for console stdout/stderr, or `aspire otel logs <resource>` for structured OpenTelemetry log records. Add `--follow` to stream in real time or `--search "text"` to filter by keyword.

How do I find distributed traces in an Aspire app?

Use `aspire otel traces [resource]` to list distributed traces and `aspire otel spans [resource]` for span-level detail. Correlate logs to a specific trace with `aspire otel logs --trace-id <id>`.

Why is a resource missing from aspire ps or aspire describe?

The Aspire CLI filters hidden resources such as proxies, helper containers, and migration jobs by default. Re-run the command with `--include-hidden` to see the full resource list.

Can the Aspire CLI diagnose apps deployed to Azure or AKS?

No, the Aspire CLI uses a local backchannel socket and cannot reach remote AppHosts. For deployed apps, use kubectl and Container Insights for AKS workloads, azure-diagnostics for Azure resources, or query a reachable dashboard via `--dashboard-url`.

How do I run the Aspire dashboard without an AppHost?

Run `aspire dashboard run`, which starts a standalone dashboard accepting OTLP data on ports 4317 and 4318. It is a blocking foreground process, so agents must launch it asynchronously and capture the login URL and token from its initial output.

How do I see browser console logs in the Aspire dashboard?

Browser console logs, network requests, and screenshots appear in the dashboard for frontend resources opted in via `WithBrowserLogs()` from the Aspire.Hosting.Browsers integration. They also surface through `aspire otel logs <frontend-resource>` alongside server logs.