Distributed Tracing Setup
Set up distributed tracing for microservices using OpenTelemetry, Jaeger, or Zipkin with context propagation, span creation, and trace collection configuration.
Overview
This skill streamlines the process of setting up distributed tracing in a microservices environment. It guides you through the key steps of instrumenting your services, configuring trace context propagation, and selecting a backend for trace collection and analysis, enabling comprehensive monitoring and debugging.
How It Works
- Backend Selection: Determines the preferred tracing backend (e.g., Jaeger, Zipkin, Datadog).
- Instrumentation Strategy: Designs an instrumentation strategy for each service, focusing on key operations and dependencies.
- Configuration Generation: Generates the necessary configuration files and code snippets to enable distributed tracing.
When to Use This Skill
This skill activates when you need to:
- Implement distributed tracing in a microservices application.
- Gain end-to-end visibility into request flows across multiple services.
- Troubleshoot performance bottlenecks and latency issues.
Examples
Example 1: Adding Tracing to a New Microservice
User request: "setup tracing for the new payment service"
The skill will:
- Prompt for the preferred tracing backend (e.g., Jaeger).
- Generate code snippets for OpenTelemetry instrumentation in the payment service.
Example 2: Troubleshooting Performance Issues
User request: "implement distributed tracing to debug slow checkout process"
The skill will: