返回顶部
t

trace-debuger

End-to-end trace debugging from trace_id. Fetch Jaeger trace and Elasticsearch logs, analyze possible bugs (optionally with local repository context), and generate a fixed-structure Markdown report for CI or tickets.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.1
安全检测
已通过
387
下载量
1
收藏
概述
安装方式
版本历史

trace-debuger

# Trace Debuger Use this skill to generate a self-contained Markdown trace debug report. ## Inputs - `trace_id` (required) - `jaeger_url` (optional, default `http://127.0.0.1:16686`) - `es_url` (optional, default `http://127.0.0.1:9200`) - `repo_path` (optional, absolute path, default `/Users/noodles/Desktop/code/go-components/examples/tracer`) - `output_path` (optional, default `./trace_debug_report_{trace_id}.md`) - `es_index` (optional, default `filebeat-tracer-*`) - `es_size` (optional, default `2000`) ## Run ```bash python3 skills/trace_debuger/scripts/trace_debuger.py \ --trace-id <TRACE_ID> \ [--jaeger-url http://127.0.0.1:16686] \ [--es-url http://127.0.0.1:9200] \ [--repo-path /Users/noodles/Desktop/code/go-components/examples/tracer] \ [--output-path ./trace_debug_report_<TRACE_ID>.md] ``` ## Output - Writes Markdown report to `output_path` - **MUST send the generated Markdown report to the user as a file attachment via the chat window in the same session before finishing the task** - **MUST send the report as ONE chat message only: attach the Markdown file and put the strict summary block in the same message caption/body.** - **`【markdown报告文件】` is a placeholder and MUST be replaced with the real uploaded Markdown filename (example: `trace_debug_report_<trace_id>.md`).** - **Use exactly this format in caption/body:** ```text <真实markdown报告文件名> trace_id: xxxx status: xxx jaeger_url: xxx es_url: xxx 代码仓库路径:仓库路径 关键结论摘要:xxxx ``` - Prints fixed summary lines to stdout: ```text trace_id: <trace_id> status: SUCCESS/FAIL jaeger_url: <jaeger_url> es_url: <es_url> 代码仓库路径:<repo_path|N/A> 关键结论摘要:<summary> ``` ## Notes - Keep logs sorted by timestamp ascending. - After fetching ES logs, run Codex in repository root (automated via `codex exec` equivalent to TUI paste workflow) with this prompt: - `这是我的日志,请根据日志结合代码帮我排查分析bug,输出bug原因及解决方案,必须保持固定的格式。` - If repository is provided, include code-context hints and file matches for suspected bug areas. - If repository is not provided, base bug hypotheses on logs + spans only. - After analysis in chat workflow: send the generated Markdown report **as a file attachment** to the user through the chat window, with the strict summary block in the **same message** caption/body (single message only). - The first line must be the real Markdown filename (not placeholder text). - Finally, delete the local Markdown file.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 trace-debuger-1776235644 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 trace-debuger-1776235644 技能

通过命令行安装

skillhub install trace-debuger-1776235644

下载 Zip 包

⬇ 下载 trace-debuger v0.2.1

文件大小: 7.75 KB | 发布时间: 2026-4-16 00:00

v0.2.1 最新 2026-4-16 00:00
Enforce single-message delivery: markdown report as file attachment + strict summary format with real filename.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部