How to Test Code That Logs, Traces and Records Metrics
Capture spans, log records and counter values in memory during tests, assert on them, and keep tests from leaking into each other.
How to Correlate Logs and Traces Across Services
Carry the trace id from a checkout service to a payment service in HTTP headers, so every log line of one request shares one trace id.