Skills · Infrastructure & ops

Distributed Tracing

Unverified30/40

Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.

Originally by wshobson · MIT

Claude CodePartialHas SKILL.md but declares no allowed-tools — Claude Code will ask for permission each time
CursorPartialPlain prose you can paste in — but no Cursor rules file
CodexPartialPlain prose you can paste in — but no AGENTS.md
Gemini CLIPartialPlain prose you can paste in
CopilotPartialPlain prose you can paste in — but no Copilot instructions file
npx agentalley add distributed-tracing

This command does not work yet — the CLI is still being built. Until then, use Raw in the reader below to take the file.

Who is stuck, and on what

Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.

The whole source

No sign-in, no blur, nothing truncated
distributed-tracing/SKILL.md80 lines2.1 KBRawView on GitHub
Frontmatter — 2 properties
namedistributed-tracing
descriptionImplement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.
1---
2name: distributed-tracing
3description: Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.
4---A5No allowed-tools declared — no way to tell what this skill may touch
5 
6# Distributed Tracing
7 
8Implement distributed tracing with Jaeger and Tempo for request flow visibility across microservices.
9 
10## Purpose
11 
12Track requests across distributed systems to understand latency, dependencies, and failure points.
13 
14## When to Use
15 
16- Debug latency issues
17- Understand service dependencies
18- Identify bottlenecks
19- Trace error propagation
20- Analyze request paths
21 
22## Detailed patterns and worked examples
23 
24Detailed pattern documentation lives in `references/details.md`. Read that file when the navigation tier above is insufficient.
25 
26## Best Practices
27 
281. **Sample appropriately** (1-10% in production)
292. **Add meaningful tags** (user_id, request_id)
303. **Propagate context** across all service boundaries
314. **Log exceptions** in spans
325. **Use consistent naming** for operations
336. **Monitor tracing overhead** (<1% CPU impact)
347. **Set up alerts** for trace errors
358. **Implement distributed context** (baggage)
369. **Use span events** for important milestones
3710. **Document instrumentation** standards
38 
39## Integration with Logging
40 
41### Correlated Logs
42 
43```python
44import logging
45from opentelemetry import trace
46 
47logger = logging.getLogger(__name__)
48 
49def process_request():
50 span = trace.get_current_span()
51 trace_id = span.get_span_context().trace_id
52 
53 logger.info(
54 "Processing request",
55 extra={"trace_id": format(trace_id, '032x')}
56 )
57```
58 
59## Troubleshooting
60 
61**No traces appearing:**
62 
63- Check collector endpoint
64- Verify network connectivity
65- Check sampling configuration
66- Review application logs
67 
68**High latency overhead:**
69 
70- Reduce sampling rate
71- Use batch span processor
72- Check exporter configuration
73 
74 
75## Related Skills
76 
77- `prometheus-configuration` - For metrics
78- `grafana-dashboards` - For visualization
79- `slo-implementation` - For latency SLOs
80 

Reviews

Installed this one?Write the first review and take the Trailblazer badge.

Reviews only open after a real install, so this is empty — and we leave it empty rather than invent one.

Alternatives

Also in Infrastructure & ops