tail-based サンプリングとは何か
tail-based サンプリングは、リクエストが完了するまで trace の span をバッファリングし、その後 trace 全体を評価して保存するかどうかを決めます。結果が判明しているため、エラーが出た trace や遅かった trace を優先的に残し、通常の速い trace を破棄できます。トレードオフは、完了まで span を保持するために必要なメモリと調整です。
なぜ重要か
残すべき最も有用な trace は問題のあるものですが、それがどれかは終わってはじめて分かります。tail-based サンプリングは運任せにせず、それらを意図的に保持します。
関連ガイド
What Is Head-Based Sampling?Head-based sampling decides whether to record a trace at its start, before the outcome is known, applying a f…
What Is a Collector Pipeline?A collector pipeline is the chain of receivers, processors, and exporters that telemetry flows through inside…
What Is Trace Context Propagation?Trace context propagation passes trace and span identifiers across service boundaries, usually in request hea…