• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLKnowledge Workmonitoring

verify-recent-trace

プラグイン
Honeycomb
ソース
GitHub で見る ↗
説明

Honeycombで最近のトレース(処理の実行履歴)を検索し、最近行ったテストで何が起きたのかを確認します。 次のような場合に使用: 「Honeycombで確認してほしい」「最新のトレースを探してほしい」「トレースを表示してほしい」と言われたとき。

原文を表示

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".

ユースケース
  • Honeycombで最近のトレースを検索したいとき
  • 最近のテスト実行内容を確認したいとき
  • トレースを表示してほしいと言われたとき
本文(日本語訳)

Honeycomb検証スキル

目的

Honeycombを照会して、最近のテストで生成されたトレース(処理経路の記録)を探す。

使用する場合

このスキルは次のような場合に自動的に起動します:

  • ユーザーが「Honeycombでトレースを見せて」と依頼する
  • 可観測性(システムの動作状況を把握すること)の検証が必要な実装ステップを完了した場合

検証結果の報告形式

照会結果を次の形式で報告します: [VIZ]を照会しました(フィルタ: [FILTERS]、グループ化: [GROUP_BY]、期間: [TIME_RANGE]) 結果: [Honeycombの照会へのリンク]

照会パターン

  • 時間範囲: 1200秒(20分) - テストが開始された時刻に合わせて調整可能

パターン1: 特定のトレースを取得

テスト対象のサービスは何ですか? これにより照会するデータセット(データの集まり)が決まります。 期待される「スパン」(処理の単位)の名前は分かっていますか?

照会内容:
- データセット: [dataset]
- フィルタ: name = [期待されるスパン名]
- 時間範囲: [計算済みの期間]
- 計算方法: COUNT
- サンプルを含める: true

最新のサンプルを取得し、get_traceを使って完全なトレースを取得します。 報告形式:

[計算方法]を照会しました(フィルタ: [FILTERS]、期間: [TIME_RANGE]) [count]件の結果が見つかりました 結果: [照会へのリンク]

最新のトレース: [トレースへのリンク] ルートスパン: [ルートスパン名] 総スパン数: [スパンの数] サービス: [サービスの一覧]

パターン2: テスト開始以降のすべてのトレースを検索

照会内容:
- すべてのデータセット
- フィルタ: trace.parent_id does-not-exist
- 時間範囲: [計算済みの期間]
- 計算方法: COUNT
- 分類: name
- サンプルを含める: true

報告形式: [計算方法]を照会しました(フィルタ: [FILTERS]、分類: [BREAKDOWNS]、期間: [TIME_RANGE]) [count]件の結果が見つかりました 結果: [照会へのリンク]

各サンプルについて以下を表示します:

  • トレースID
  • スパン名
  • その他の情報

Honeycombのトレースリンクを以下の形式で構築します:

https://ui.honeycomb.io/modernity/environments/personal-agent/trace?trace_id=[<traceId>]
&trace_start_ts=[test_start_time]
&trace_end_ts=[((date +%s))]

パターン3: 最新のトレースを正確に検索

照会内容:
  計算フィールド: event_time=EVENT_TIMESTAMP()
  計算方法: COUNT
  分類: event_time, trace.trace_id
  並び順: event_time DESC
  上限: 1
  サンプルを含める: false

パターン1の形式でトレースの概要を表示します。

取得したtrace_idを使ってget_traceで完全なトレースを取得します。

パターン4: トレースが表示されない場合は、時間範囲を正確に設定

トレースを生成するテストを実行する前に、現在時刻を表示します。

start_time=$(date +%s)

次にテストを実行してトレースを生成します。

次に、正確な時間範囲を計算します:

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

その値を使用してトレースを検索します。

原文(English)を表示

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:

  • Trace ID
  • Span name
  • anything else it gives you Construct a link to the trace in Honeycomb, according to: https://ui.honeycomb.io/modernity/environments/personal-agent/trace?trace_id=[<traceId>] &trace_start_ts=[test_start_time] &trace_end_ts=[((date +%s))]

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.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。