← 返回
数据分析 中文

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 ge...
从 trace_id 进行端到端追踪调试,获取 Jaeger 追踪和 Elasticsearch 日志,分析可能的 bug(可选结合本地代码库),并...
gakkiismywife
数据分析 clawhub v0.2.1 1 版本 99875.9 Key: 无需
★ 1
Stars
📥 785
下载
💾 11
安装
1
版本
#latest

概述

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

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_.md).
  • Use exactly this format in caption/body:
<真实markdown报告文件名>
trace_id: xxxx
status: xxx
jaeger_url: xxx
es_url: xxx
代码仓库路径:仓库路径
关键结论摘要:xxxx
  • Prints fixed summary lines to stdout:
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.

版本历史

共 1 个版本

  • v0.2.1 当前
    2026-03-29 23:11 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,164
ai-intelligence

aaaa

gakkiismywife
记录经验教训、错误及修正以实现持续改进。使用时机:(1) 命令或操作意外失败,(2) 用户纠正...
★ 0 📥 568
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,723