aspire-monitoring

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

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Hexalith/Hexalith.Parties --skill aspire-monitoring-hexalith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire-monitoring
Source: https://github.com/Hexalith/Hexalith.Parties/tree/main/.agents/skills/aspire-monitoring
Command: npx skills add https://github.com/Hexalith/Hexalith.Parties --skill aspire-monitoring-hexalith

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Diagnosing issues in distributed .NET 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: Retrieve console logs, structured OpenTelemetry logs, distributed traces, and spans using aspire logs and aspire otel commands. - Environment-Based Routing: Direct diagnostics to kubectl and Container Insights for AKS, azure-diagnostics for Azure resources, or Docker CLI for Compose deployments. - Standalone Dashboard: Launch aspire dashboard run to collect OTLP telemetry from any application without an AppHost, then query it with --dashboard-url. - Use Case: When a resource appears missing or unhealthy, run aspire describe --include-hidden --format Json to reveal hidden proxies and helpers, then correlate failures with aspire otel logs --trace-id. ## Quick Start Ask the agent to show the structured logs and current resource state of the 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 application resource?

Use aspire logs <resource> for console stdout/stderr, or aspire otel logs for structured OpenTelemetry log records. Add --follow to stream in real time and --format Json for machine-readable output.

How do I find distributed traces in a local Aspire app?

Run aspire otel traces to see distributed trace data and aspire otel spans for span-level detail. You can then correlate logs to a specific request using aspire otel logs --trace-id <id>.

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 reveal them.

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 AKS use kubectl and Container Insights, for other Azure resources use azure-diagnostics, and for Docker use docker logs.

How do I run the Aspire dashboard without an AppHost?

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

How do I see browser console logs from an Aspire frontend?

Frontend resources opted in via WithBrowserLogs() surface browser console logs, network requests, and screenshots in the dashboard. They also appear as OTLP log records when running aspire otel logs on the frontend resource.