Tracing Engineer
Wire distributed tracing that tells the truth: span attributes, semantic conventions, context propagation, tail sampling, and asserting spans in tests.
Path overview
追踪系统的价值取决于上下文传播的完整性:丢一段传播,就丢一段真相。本路径从追踪模型与关联 ID 讲起,经 Span 属性与语义约定,攻克异步上下文与尾部采样两大难点,再落地 OpenTelemetry 接入与 Span 断言测试。
A trace is only as truthful as its context propagation: one dropped hop, one lost truth. This path covers tracing models, span attributes, semantic conventions, async propagation, tail sampling, and span assertions.
Read "Observability: Logging, Metrics, and Tracing" for the "The RED and USE Methods, and Request Correlation" argument, then name the decision in tracing work it would change.
Next step: OpenTelemetry
⏱ 1h
Read "OpenTelemetry"'s documented surface around "NodeSDK new NodeSDK({ serviceName, traceExporter, instrumentations })", then build a minimal endpoint and log the response.
Prerequisites: Observability: Logging, Metrics, and Tracing
Next step: OpenTelemetry Node Tracing Spans
⏱ 1h
Execute "OpenTelemetry Node Tracing Spans", change one constant, and describe how the output diverges from "Instrument a Node service with OpenTelemetry tracing spans, nesting child spans across async".
Prerequisites: OpenTelemetry
Next step: Add OpenTelemetry Tracing to a Node.js Service
⏱ 0.75h
Run "The service exports spans with the configured service name." from "Add OpenTelemetry Tracing to a Node.js Service" and confirm the documented result "Initialize the SDK before importing the application, with a service name and OTLP exporter.".
Prerequisites: OpenTelemetry Node Tracing Spans
Next step: Assert Spans in Trace Tests
⏱ 0.5h
Apply "Assert Spans in Trace Tests" to a tracing task, checking that "Spans are exported synchronously into memory and available immediately after the request" appears after the "Verify that a request produces the expected trace tree and attributes, instead of eyeballing" step.
Prerequisites: Add OpenTelemetry Tracing to a Node.js Service
Next step: Reconstruct a Trace from Span Records
⏱ 0.5h
Build "Reconstruct a Trace from Span Records" for tracing code and verify {roots:[{id:r1,name:GET against both samples.
Prerequisites: Assert Spans in Trace Tests
Next step: Capstone: Tracing Engineer
⏱ 0.5h
Deliver the "Build a Distributed Tracing Collector" blueprint with "Trace assembler" working and "Span store" recorded as evidence.
Prerequisites: Assert Spans in Trace Tests, Reconstruct a Trace from Span Records
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h