This skill should be used when tracing resource requests through the Maestro system to debug resource lifecycle issues, track request flow from client to agent and back, or troubleshoot failures in resource creation, update, or deletion operations across the server-agent-server pipeline. Supports both Kubernetes log files and ARO HCP Kusto CSV exports.
Complete tracing of resource requests through the Maestro system pipeline.
This skill helps trace resource requests through their complete lifecycle in the Maestro system, from client submission through server processing, message broker delivery, agent application, and status updates back to clients.
The skill provides end-to-end tracing through:
.claude/skills/trace-resource-request/scripts/trace_request.sh \
--op-id "2dd9d768-a02d-4539-a99f-8a2c801a1c4b" \
--logs-dir $HOME/maestro-logs
.claude/skills/trace-resource-request/scripts/trace_request.sh \
--resource-id "9936a444-051a-5658-9b57-af855e27b01b" \
--logs-dir $HOME/maestro-logs
.claude/skills/trace-resource-request/scripts/trace_request.sh \
--work-name "nginx-work" \
--logs-dir $HOME/maestro-logs
# From Maestro server cluster
namespace=maestro label="app=maestro" container=service logs_dir=$HOME/maestro-logs \
.claude/skills/trace-resource-request/scripts/dump_logs.sh
# From Maestro agent cluster
namespace=maestro label="app=maestro-agent" container=agent logs_dir=$HOME/maestro-logs \
.claude/skills/trace-resource-request/scripts/dump_logs.sh
kubectl for log collection from Kubernetesscripts/dump_logs.sh - Collect logs from Kubernetes clustersscripts/trace_request.sh - Automated log analysis and request tracingreferences/error_analysis.md - Comprehensive error troubleshooting guide2dd9d768-a02d-4539-a99f-8a2c801a1c4b)9936a444-051a-5658-9b57-af855e27b01b)nginx-work)nginx-deployment)Client sends spec request (gRPC)
↓
Server receives and stores in DB
↓
Server publishes to message broker (MQTT/gRPC)
↓
Agent receives CloudEvent
↓
Agent applies manifests to cluster
↓
Agent publishes status update (MQTT/gRPC)
↓
Server receives status update
↓
Server updates DB and broadcasts
↓
Server sends status to gRPC clients
See references/error_analysis.md for detailed troubleshooting steps covering:
Common issues:
make db/login or kubectl port-forwardProblem: Client reports resource never applied
dump_logs.shreferences/error_analysis.md for that specific failureThe trace script outputs:
Use "No matching entries" to identify where the request flow broke, then consult the error analysis reference for that specific section.
For issues or questions:
SKILL.md for step-by-step proceduresreferences/error_analysis.md for error-specific guidancenpx skills add openshift-online/追踪资源请求下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer