Distributed Tracing Setup Skill for OpenTelemetry Context
Add tracing to two local services and verify that propagation keeps their spans in the same trace.
中文Install in Claude Code
Use two local services you control, the OpenTelemetry SDK for their runtimes, and a local collector or trace viewer.
- Get the complete `plugins/performance/distributed-tracing-setup/skills/setting-up-distributed-tracing` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/setting-up-distributed-tracing/SKILL.md`, start Claude Code at the project root, and call `/setting-up-distributed-tracing`.
Example task
Have storefront /catalog call inventory /availability. Send one synthetic request and inspect the service and client spans in the local viewer.What to check
Both services appear in the same trace, with relationships that distinguish ingress latency from the downstream call.
Original SKILL.md on GitHub · Updated
Frequently asked question
Will sharing an application request ID automatically create a trace?
Propagate the tracing SDK's context so the downstream span can use the same trace ID and the correct parent.