distributed-tracing – DevOps & Infrastructure skill for AI agents
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.
Install the distributed-tracing skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-tracing-21f5a.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /distributed-tracing – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-tracing-21f5a.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $distributed-tracing – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-tracing-21f5a.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /distributed-tracing – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/distributed-tracing-21f5a.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /distributed-tracing – then describe the task you want done.
SKILL.md content
Distributed Tracing
Implement distributed tracing with Jaeger and Tempo for request flow visibility across microservices.
Purpose
Track requests across distributed systems to understand latency, dependencies, and failure points.
When to Use
- Debug latency issues
- Understand service dependencies
- Identify bottlenecks
- Trace error propagation
- Analyze request paths
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Best Practices
1. Sample appropriately (1-10% in production)
2. Add meaningful tags (user_id, request_id)
3. Propagate context across all service boundaries
4. Log exceptions in spans
5. Use consistent naming for operations
6. Monitor tracing overhead (<1% CPU impact)
7. Set up alerts for trace errors
8. Implement distributed context (baggage)
9. Use span events for important milestones
10. Document instrumentation standards
Integration with Logging
Correlated Logs
import logging
from opentelemetry import trace
logger = logging.getLogger(__name__)
def process_request():
span = trace.get_current_span()
trace_id = span.get_span_context().trace_id
logger.info(
"Processing request",
extra={"trace_id": format(trace_id, '032x')}
)Troubleshooting
No traces appearing:
- Check collector endpoint
- Verify network connectivity
- Check sampling configuration
- Review application logs
High latency overhead:
- Reduce sampling rate
- Use batch span processor
- Check exporter configuration
Related Skills
prometheus-configuration- For metricsgrafana-dashboards- For visualizationslo-implementation- For latency SLOs
Related skills
- competitor-news-monitor – Watch named companies for material news; cited digests.
- hunt-cloud-misconfig – Hunt cloud / infrastructure misconfigurations. AWS: public S3 buckets (s3:GetObject…
- apify-actor-development – Create, modify and validate Apify Actors with scoped inputs, storage schemas, runtime…
- apify-actorization – Actorization converts existing software into reusable serverless applications compatible…
- appdeploy – Deploy web apps with backend APIs, database, and file storage. Use when the user asks to…
- render-deploy – Deploy applications to Render by analyzing codebases, generating render.yaml Blueprints…
- docker-management – Manage Docker containers, images, volumes, and Compose.
- apple-container – Build, run, and manage OCI/Linux containers as lightweight per-container VMs on…