distributed-tracing
Implement distributed tracing with Jaeger and Zipkin for tracking requests across microservices. Use when debugging distributed systems, tracking request flows, or analyzing service performance.
How do I install this agent skill?
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill distributed-tracingIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a set of reference implementations and configuration templates for setting up distributed tracing with Jaeger and Zipkin. It includes standard Docker Compose setups and instrumentation examples for Node.js (Express) and Python (Flask).
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Distributed Tracing
Table of Contents
Overview
Set up distributed tracing infrastructure with Jaeger or Zipkin to track requests across microservices and identify performance bottlenecks.
When to Use
- Debugging microservice interactions
- Identifying performance bottlenecks
- Tracking request flows
- Analyzing service dependencies
- Root cause analysis
Quick Start
Minimal working example:
# docker-compose.yml
version: "3.8"
services:
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "5775:5775/udp"
- "6831:6831/udp"
- "16686:16686"
- "14268:14268"
networks:
- tracing
networks:
tracing:
Reference Guides
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Jaeger Setup | Jaeger Setup, Node.js Jaeger Instrumentation |
| Express Tracing Middleware | Express Tracing Middleware |
| Python Jaeger Integration | Python Jaeger Integration |
| Distributed Context Propagation | Distributed Context Propagation |
| Zipkin Integration | Zipkin Integration, Trace Analysis |
Best Practices
✅ DO
- Sample appropriately for your traffic volume
- Propagate trace context across services
- Add meaningful span tags
- Log errors with spans
- Use consistent service naming
- Monitor trace latency
- Document trace format
- Keep instrumentation lightweight
❌ DON'T
- Sample 100% in production
- Skip trace context propagation
- Log sensitive data in spans
- Create excessive spans
- Ignore sampling configuration
- Use unbounded cardinality tags
- Deploy without testing collection
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/aj-geddes/useful-ai-prompts/distributed-tracing">View distributed-tracing on skillZs</a>