Sampling keeps only a subset of traces to control cost. It reduces storage and overhead but can hide rare failures or edge cases, so sampling strategy matters.
Common strategies:
Trade-offs:
Tail-based policy:
Keep all traces with error=true or duration > 2s
Sample 1% of the rest