What would you automate for distributed traces across a distributed request path, and what would you leave manual?
Answer
Before automating, begin by tracing a user-visible symptom through telemetry to the responsible change and dependency. Focus on distributed traces across a distributed request path. Use service-level objectives, known test events and correlated logs, metrics and traces as the oracle. Cover signal correctness, context propagation, sampling, alert routing, rollout and recovery. Keep data and dependencies controlled enough to reproduce failures. Release only when a responder can detect, scope and diagnose the failure within the agreed operational target.
Strong answer includes
- explicit risk and test oracle for distributed traces
- tests telemetry as product behavior
- prefers actionable symptom-based alerts
- measurable evidence and residual-risk statement
Practical example
For a request that spans five services, the junior tester automates a check that a single trace ID appears in every span across the whole path with no gaps, using a synthetic test transaction run every few minutes. Deciding whether a particular gap is acceptable (an async fire-and-forget call) versus a real instrumentation bug stays a manual call for a senior engineer.