← Back to list

distributed-tracing-specialist
by paunchygent
Teacher-first Script Hub for running curated, upload-based tools.
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: distributed-tracing-specialist description: Configure and use OpenTelemetry distributed tracing with Jaeger in HuleEdu services. Guides tracer initialization, span creation, W3C trace propagation, and correlation with logs/metrics. Integrates with Context7 for latest OpenTelemetry documentation.
Distributed Tracing Specialist
Compact skill for implementing OpenTelemetry distributed tracing with Jaeger in HuleEdu services.
When to Use
Activate when the user:
- Needs to initialize OpenTelemetry tracing for a service
- Wants to create spans for operations or requests
- Asks about trace context propagation across services
- Needs to correlate traces with logs and metrics
- Wants to understand W3C Trace Context standard
- Mentions OpenTelemetry, Jaeger, distributed tracing, or spans
- Needs help with tracing middleware for Quart/FastAPI
Core Capabilities
- Tracer Initialization: Configure OpenTelemetry with Jaeger OTLP endpoint
- Span Creation: Create spans for operations with automatic timing
- Trace Context Propagation: W3C Trace Context across HTTP and Kafka
- Middleware Integration: Automatic tracing for HTTP requests (Quart/FastAPI)
- Correlation: Link traces with correlation IDs, logs, and metrics
- Error Recording: Automatic exception recording in spans
- Context Injection/Extraction: Propagate traces through event metadata
- Context7 Integration: Fetch latest OpenTelemetry/Jaeger documentation
Quick Workflow
- Initialize tracer at service startup with service name
- Setup tracing middleware for automatic HTTP span creation
- Create spans for important operations
- Inject trace context when publishing events
- Extract trace context when consuming events
- View traces in Jaeger UI (http://localhost:16686)
Tracer Initialization
from huleedu_service_libs.observability.tracing import init_tracing
# In app.py startup
tracer = init_tracing("spellchecker_service")
Middleware Setup
from huleedu_service_libs.middleware.frameworks.quart_middleware import (
setup_tracing_middleware
)
@app.before_serving
async def startup():
setup_tracing_middleware(app, tracer)
Span Creation Pattern
from huleedu_service_libs.observability.tracing import trace_operation
async def process_essay(essay_id: str) -> None:
with trace_operation(
tracer,
"process_essay",
attributes={"essay_id": essay_id}
) as span:
# Work happens here (timed automatically)
result = await spell_checker.check(essay)
span.set_attribute("corrections_count", len(result.corrections))
Jaeger UI Access
- URL: http://localhost:16686
- Service: Select service from dropdown
- Query: Find traces by service, operation, or tags
Reference Documentation
- Detailed Tracing Patterns: See
reference.mdin this directory - Real-World Tracing Examples: See
examples.mdin this directory - Tracing Library:
/libs/huleedu_service_libs/src/huleedu_service_libs/observability/tracing.py - Middleware:
/libs/huleedu_service_libs/src/huleedu_service_libs/middleware/frameworks/quart_middleware.py
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon