Verify Recent Trace

作者 honeycombiob169d7d1c76a无许可证27 个星标收录于 2026年10月8日更新于 2026年10月8日仓库2周前更新

Find a recent trace in Honeycomb, to see what happened in a recent test. Use when asked to "verify in Honeycomb", "find the most recent trace", or "show me the trace".

仅含说明DevOps & Cloud
AI 生成的概览

查询 Honeycomb,定位最近测试产生的 trace 并报告结果。

功能
该技能引导智能体查询 Honeycomb,以查找最近测试创建的 trace。它提供四种查询模式:按 span 名称获取特定 trace、列出测试开始以来的所有根 trace、精确查找最近的一条 trace,以及在找不到 trace 时调整时间范围。它会输出格式化的查询摘要、trace 链接,以及根 span 名称、span 数量和涉及的服务等信息。
适用场景
当被要求“在 Honeycomb 中验证”“查找最近的 trace”或“展示 trace”时使用,也适用于实现步骤需要可观测性验证的场景。
运行要求
需要访问 Honeycomb 的 MCP 工具,用于运行查询、获取 trace、读取查询结果和查找查询,同时需要 Read 工具。该技能不包含脚本,仅为说明文档。

Honeycomb Verification Skill

Purpose

Query Honeycomb to find the traces that were created by a recent test.

When to Use

This skill is automatically activated when:

  • User asks to "show me a trace in Honeycomb"
  • Completing an implementation step that requires observability verification

Verification Output

Report query results as: Queried [VIZ] where [FILTERS] by [GROUP_BY] over [TIME_RANGE] Results: [link to Honeycomb query]

Query Patterns

  • Time Range: 1200 seconds (20 minutes) - adjustable based on when the test started

Pattern 1: Get a particular trace

What service are you testing? This determines the dataset. Do you know the name of the span you expect to see?

Query for:- dataset: [dataset]- filter: name = [expected span name]- time_range: [calculated time range]- calculation: COUNT- include_samples: true

Now take the most recent sample, and use get_trace to get the full trace. Output:

Queried [CALCULATION] where [FILTERS] over [TIME_RANGE] Found [count] results Results: [link to the query]

Most recent trace: [link to the trace] Root span: [root span name] Total spans: [count of spans] Services: [list of services]

Pattern 2: Find all traces since the test started

Query for:- all datasets- filter: trace.parent_id does-not-exist- time_range: [calculated time range]- calculation: COUNT- breakdowns: name- include_samples: true

Output: Queried [CALCULATION] where [FILTERS] by [BREAKDOWNS] over [TIME_RANGE] Found [count] results Results: [link to the query]

For each sample, print:

Pattern 3: Find the most recent trace, precisely

Query for:  calculated_fields: event_time=EVENT_TIMESTAMP()  calculation: COUNT  breakdowns: event_time, trace.trace_id  order: event_time DESC  limit: 1  include_samples: false

Print the summary of the trace, as in Pattern 1.

Take the output trace_id and use get_trace to get the full trace.

Pattern 4: When you don't see any traces, try: Get the time range right

Before running a test that will generate a trace, print the current time.

start_time=$(date +%s)

Then run the test to create the trace.

Then calculate the correct time range:

echo $(( $(date +%s) - $start_time + 20))

Include that in the query you're using to find traces.

来源与署名

来源:honeycombio/agent-skill位于honeycomb/skills/verify-recent-trace提交b169d7d

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 honeycombio/agent-skill 的技能

Slos And Triggers

honeycombio

指导解读 Honeycomb SLO 达标情况、错误预算消耗速率和触发器状态,并设计 SLO 与告警。

DevOps & Cloud272周前更新

Production Investigation

honeycombio

用于在 Honeycomb 中调查生产问题并定位根因的结构化工作流。

DevOps & Cloud272周前更新

Observability Fundamentals

honeycombio

First principles behind observability — wide events, high cardinality, the core analysis loop, events vs metrics vs logs, and how instrumentation connects to debugging outcomes. Grounds recommendations in first principles rather than tool-specific how-to. Trigger phrases: "what is observability", "why observability", "why Honeycomb", "events vs metrics vs logs", "events vs metrics", "events vs logs", "metrics vs logs", "why wide events", "what is high cardinality", "core analysis loop", "observability vs monitoring", "what is dimensionality", "explain observability", or any conceptual question about observability or why Honeycomb's approach differs from traditional monitoring.

待分类272周前更新

Metrics Queries

honeycombio

讲解如何在 Honeycomb 中正确查询 OpenTelemetry 指标数据集,涵盖允许的操作、时间聚合与直方图。

Data & Analytics272周前更新

Create Honeycomb Board

honeycombio

通过 MCP 工具设计并创建包含查询、SLO 和文本面板的 Honeycomb 看板(仪表盘)。

DevOps & Cloud272周前更新

Beeline Migration

honeycombio

指导从 Honeycomb Beelines 分两阶段迁移到 OpenTelemetry 埋点。

DevOps & Cloud272周前更新