jaeger-analysis

Analyze Jaeger distributed traces to diagnose latency, errors, and service dependencies.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill jaeger-analysis-erwinv2k-tkg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jaeger-analysis
Source: https://github.com/erwinv2k-TKG/AgentesVSC/tree/main/packs/incidentfox/sre-agent/.claude/skills/observability-jaeger
Command: npx skills add https://github.com/erwinv2k-TKG/AgentesVSC --skill jaeger-analysis-erwinv2k-tkg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Investigating slow requests and errors across microservices requires digging through distributed traces, and doing it manually through the Jaeger UI is slow and error-prone. This Skill provides scripted, statistics-first access to the Jaeger Query API so you can pinpoint latency bottlenecks and failing spans quickly. ## Core Features & Use Cases - Service and Operation Discovery: List all traced services and their operations before diving into individual traces. - Latency and Error Analysis: Compute p50/p95/p99 latency statistics per operation, find slow traces above a duration threshold, and isolate traces containing error spans. - Full Trace Inspection: Retrieve a complete trace by ID and render its span tree with durations, tags, and error markers to identify the root-cause span. - Use Case: When users report slow checkout requests, run latency stats for the checkout service, pull the slowest traces, then inspect a specific trace to discover that a database span is the bottleneck. ## Quick Start Ask the agent to list the services in Jaeger and show latency statistics for the checkout service over the last hour.

Frequently Asked Questions about jaeger-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find slow traces in Jaeger from the command line?

Run get_slow_traces.py with a service name and a minimum duration threshold in milliseconds. The script queries the Jaeger API, sorts matching traces by duration, and shows the slowest span in each trace.

How do I investigate latency across microservices with Jaeger?

Start with list_services.py, then run get_latency_stats.py for the target service to see p50, p95, and p99 per operation. Drill into slow or error traces and finish with get_trace.py to view the full span tree and locate the bottleneck.

What authentication does the Jaeger API client support?

The client supports bearer tokens via JAEGER_TOKEN, basic auth via JAEGER_USER and JAEGER_PASSWORD, and a proxy mode using JAEGER_BASE_URL with sandbox JWT or tenant headers. It also works with no auth for internal Jaeger deployments.

Why should I avoid fetching all traces from Jaeger?

Unfiltered trace dumps are slow and produce too much data to analyze effectively. The skill enforces a statistics-first workflow: discover services, check latency percentiles, then sample specific traces using service, operation, tag, duration, and lookback filters.

Can I filter Jaeger traces by tags like HTTP status code?

Yes, get_traces.py accepts repeated --tags arguments in key=value format, such as http.status_code=500 or error=true. Tags are sent to the Jaeger API as a JSON filter alongside service, duration, and time-range parameters.