~/lightning

Lightning Talk: With Great Traces Comes Great Costs: How to Reduce That Bill?

Lightningat CloudOpen at Open Source Summit Europe 2024 · 2024-09-16..09-18· [observability]
links:none on file
slides:none on file

Distributed tracing costs explode when every span is sent to an external APM and storage/egress scale with requests; pragmatic solution uses custom sampling to drop middleware/formatting spans, an OpenTelemetry tail-sampling processor in an OpenTelemetry Collector to accept traces only on latency or 5xx signals, and local attribute filtering to avoid provider-UI-dependent fields. Concrete results: a simple sampler drops middleware and format spans (10→6 example) and reduces a 87-span trace to 53 — roughly ~40% span reduction and much lower bills.

AI-written summary · about

  1. 0:00Distributed tracing costs
  2. 1:03Debugging in microservices
  3. 2:25Tracing bills grow with scale
  4. 3:30Mixed sampling experiment failure
  5. 4:56Filtering duplicate span attributes
  6. 6:00Tail sampling limitations
  7. 7:23OpenTelemetry custom sampling
  8. 8:50Custom samplers reduce spans
  9. 10:36OpenTelemetry tail sampling
  10. 11:59Summary
~/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.