~/talk

Why, How to, and Issues: Tail-Based Sampling in the OpenTelemetry Collector

Talkat KubeCon + CloudNativeCon Europe 2022 · 2022-05-16..05-20· [observability]
slides:none on file

OpenTelemetry Collector performs tail-based sampling by buffering full traces and applying policies in a tail sampling processor so a 20-call load generator that produces one error per run yields 20 traces with the default, ~60 after three runs, ~25% trace_id_ratio sampling gives ~7 new traces from 60, and a tail config with a status_code policy returns only error traces while adding a probabilistic policy returns errors plus a random sample. Config knobs include decision_weight, num_traces, expected_new_traces_per_sec. Limitations: memory and CPU for buffering, all spans must reach the same collector, need agent/collector topology and possibly the load balancing exporter.

AI-written summary · about

  1. 0:00Start
  2. 2:18INTRODUCTION
  3. 2:31What is Open Telemetry?
  4. 3:14What is the Collector?
  5. 3:41What is distributed tracing?
  6. 6:26SAMPLING OVERVIEW
  7. 9:09Head-based sampling
  8. 13:26Tail-based sampling
  9. 14:11Tail sampling processor
  10. 16:15Demo context
  11. 16:56Sampling scenarios
  12. 28:00Demo reflection
  13. 28:50CONCERNS & LIMITATIONS
  14. 29:07General concerns
  15. 31:07Open Telemetry limitations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.