aspire-monitoring

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

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/ecoDriverltd/FoundryAgentsExperiment --skill aspire-monitoring-ecodriverltd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aspire-monitoring
Source: https://github.com/ecoDriverltd/FoundryAgentsExperiment/tree/main/.agents/skills/aspire-monitoring
Command: npx skills add https://github.com/ecoDriverltd/FoundryAgentsExperiment --skill aspire-monitoring-ecodriverltd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Diagnosing issues in Aspire applications requires knowing which observability tool to use for each environment, and this Skill routes monitoring requests to the correct command for local, AKS, Azure, or Docker deployments. ## Core Features & Use Cases - Local Telemetry Inspection: Query console logs, structured OpenTelemetry logs, distributed traces, and spans using aspire logs and aspire otel commands against a running AppHost. - Environment-Aware Routing: Directs diagnostics to kubectl and Container Insights for AKS, azure-diagnostics for deployed Azure resources, or Docker CLI for Compose targets. - Standalone Dashboard & Export: Launch the Aspire Dashboard without an AppHost via aspire dashboard run, and bundle telemetry into a portable zip with aspire export. - Use Case: When a resource appears unhealthy, run aspire describe to check state, then aspire otel logs to inspect structured logs, and finally aspire otel traces to follow the failing request across services. ## Quick Start Ask the agent 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 output or aspire otel logs <resource> for structured OpenTelemetry logs. Add --follow to stream in real time, or use --search to filter by text across messages and attributes.

How do I see distributed traces in an Aspire app?▼

Use aspire otel traces to view distributed trace data and aspire otel spans for individual span detail. You can correlate logs to a specific request with aspire otel logs --trace-id <id>.

Can the Aspire CLI diagnose deployed Azure applications?▼

The Aspire CLI only talks to a local running AppHost through a backchannel socket, so it cannot reach deployed apps directly. For Azure deployments, use azure-diagnostics, kubectl for AKS workloads, or query a reachable dashboard with aspire otel logs --dashboard-url.

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

Resources marked hidden in the AppHost, such as proxies, helper containers, and migrations, are filtered by default. Re-run the command with --include-hidden to see the full resource list.

How do I run the Aspire Dashboard without an AppHost?▼

Run aspire dashboard run to launch a standalone dashboard that accepts OTLP telemetry from any application on ports 4317 and 4318. It is a blocking foreground process, so start it as a background task and capture the login URL and token from its output.