DevOps & CI/CD
Bug Report
1% head sampling threw away almost every trace of the errors we were trying to debug
A checkout failure affected 0.3 percent of requests. With 1 percent head sampling, the chance of keeping any given failing trace was one in a hundred, and the few we kept were missing spans. Why head sampling decides too early, and how tail sampling in the OpenTelemetry Collector keeps every error and slow trace.