Skip to main content
Reduce overhead by sampling a subset of traces.

Head-Based Sampling

Sample at trace start:

Conditional Sampling

Always sample important traces:

When to Use Sampling

  • > 100K traces/day — Consider 10-20% sampling
  • > 1M traces/day — Use 1-5% sampling
  • Production — Balance cost vs visibility

Impact

10% sampling:
  • 90% reduction in storage costs
  • 90% reduction in ingestion load
  • May miss rare errors
Conditional sampling:
  • Sample routine operations at low rate
  • Capture all errors at 100%
  • Best of both worlds