jaegertracing/jaeger/error-root-cause

Claude Code and agent skill by jaegertracing/jaeger

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Walk a failed trace to the first originating error span and distinguish root cause from cascading failures. Use when a trace has errors and the user asks why it failed, what caused the errors, or which service is the root cause.

Install

npx vskill@latest install jaegertracing/jaeger/error-root-cause

SKILL.md

The same SKILL.md was published earlier as jaegertracing/jaeger/error-root-cause.

Error Root Cause Analysis

When this applies

A trace contains one or more error spans and the user wants to know the originating failure, not just the symptoms.

Procedure

  1. Use get_trace_errors to list all error spans with their status messages.
  2. Use get_trace_topology to see the full span tree and identify

parent-child relationships among the error spans.

  1. Walk from each error span toward the leaves of the tree. The deepest error

span with no errored children is the candidate root cause.

  1. Before accepting that candidate, look at its children even though none of

them errored. If one ran for nearly the whole of the candidate's duration, the candidate did not fail — it gave up waiting, and the cause lies in that child. Descend into it and repeat, until no child accounts for the time.

  1. Use get_span_details on the span you settled on to inspect attributes,

events, and status for the actual failure reason.

  1. Report: the span the failure originates from (service, operation, and error

message if it has one), the propagation chain, and a recommendation.

Gotchas

  • A timed-out call often has nothing below it. The work it was waiting on never

returned, so no spans were recorded for it. Name the last span you can see and say the cause lies beneath it, rather than blaming the timeout itself.

  • The span a trace blames and the span that failed are frequently in different

services. Report where the failure originates, not where it surfaced.

  • Multiple independent root causes can exist in a single trace.
  • A client span that failed to connect (connection refused, unavailable) and

has no server-side child is not the origin: the callee was down or restarting. Use find_traces on the callee for the period before the failure and get_span_details on its own spans to find why it went down, such as spans getting slower or attribute values that stand out.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
23,253
Repository forks
3,137
7-day trend score
50

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jaegertracing/jaeger/error-root-cause/badge)](https://verified-skill.com/skills/jaegertracing/jaeger/error-root-cause)

Something wrong with this skill or its page? Tell us.