Tracing Patterns
CommunityEnd-to-end distributed tracing for complex systems.
Software Engineering#performance#debugging#observability#FastAPI#distributed systems#tracing#W3C Trace Context
AuthorCleanExpo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of understanding and debugging complex, distributed systems by providing a robust framework for implementing end-to-end distributed tracing.
Core Features & Use Cases
- Context Propagation: Ensures trace context is automatically passed across service boundaries (e.g., Next.js to FastAPI) and between agent orchestrator, specialists, and tools.
- Span Hierarchy: Creates a clear, nested structure of spans representing the flow of execution, making it easy to pinpoint latency or errors.
- Automatic Instrumentation: Integrates with frameworks like FastAPI and SQLAlchemy to automatically create spans for requests and database queries, minimizing manual code changes.
- Use Case: Debugging a slow API request that involves multiple microservices, an agent performing several sub-tasks, and database interactions. This Skill allows you to visualize the entire request lifecycle, identify the bottleneck, and understand the root cause.
Quick Start
Apply the Tracing Patterns skill to instrument your FastAPI application by adding the TracingMiddleware as the outermost middleware.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Tracing Patterns Download link: https://github.com/CleanExpo/DR-NRPG/archive/main.zip#tracing-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.