Tail sampling
Sampling decided in a Collector after a trace has finished, using all of its spans.
In more detail
Policies such as errors or latency keep a trace when any of them matches. Every span of a trace must reach the same Collector, so scaled samplers sit behind load_balancing routed by trace ID.
Related terms
- sampling — Recording only some traces to save cost, chosen by a rule such as a percentage or by keeping every error and slow request.
- load_balancing exporter — The Collector exporter that sends all data with the same routing key to the same backend.
Taught in
- Six Out Of Twelve At One In Four: Samplers — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Which Node Was It? Collector Deployment Patterns — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Two Replicas, Half A Trace: Scaling The Collector — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Collector Sprint: Sixteen Predictions — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Forty Four Of Sixty: The Mock And What It Tells You — OpenTelemetry Certified Associate (OTCA) Exam Prep
- The Evening Before: Final Review — OpenTelemetry Certified Associate (OTCA) Exam Prep