distributed-tracing-logs

Implement distributed tracing with log-based trace context propagation and OpenTelemetry integration.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/wojons/skills --skill distributed-tracing-logs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: distributed-tracing-logs
Source: https://github.com/wojons/skills/tree/main/skills/distributed-tracing-logs
Command: npx skills add https://github.com/wojons/skills --skill distributed-tracing-logs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of understanding and debugging complex distributed systems by providing a robust framework for implementing distributed tracing using logs.

Core Features & Use Cases

  • Trace Context Propagation: Ensures trace and span IDs are carried across service boundaries via HTTP headers, message queues, and database operations.
  • Span Logging: Generates structured logs for span start/end events, attributes, and errors, enabling detailed analysis.
  • OpenTelemetry Integration: Facilitates seamless integration with OpenTelemetry SDKs and exporters for comprehensive observability.
  • Use Case: Debugging a slow e-commerce checkout process that involves multiple microservices (e.g., auth-service, payment-service, notification-service). This Skill helps pinpoint which service is causing the latency by tracing the entire request flow.

Quick Start

Use the distributed-tracing-logs skill to generate trace context for a new request to the payment service.

Frequently Asked Questions about distributed-tracing-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace a request across multiple microservices to find performance bottlenecks?

End-to-end request tracing across microservices identifies performance bottlenecks by propagating trace context via HTTP headers and logging structured spans for detailed request flow analysis.

What is distributed tracing using logs and how does it work for observability?

Distributed tracing using logs provides observability by generating structured span logs and correlating them across service boundaries to track the entire request lifecycle in distributed systems.

How do I propagate trace context for asynchronous operations in microservices?

Propagate trace context for asynchronous operations by carrying trace and span IDs across message queues and database operations, ensuring continuous trace correlation throughout the distributed request flow.

Does this distributed tracing approach work with OpenTelemetry SDKs and exporters?

Yes, the distributed tracing implementation supports seamless OpenTelemetry integration, allowing you to use existing OpenTelemetry SDKs and exporters for comprehensive observability and log correlation.

Can I use structured span logging to debug a slow e-commerce checkout process?

Yes, you can use structured span logging to debug a slow e-commerce checkout process by tracing the request flow across services like auth, payment, and notification to pinpoint exactly which service causes latency.