~/talk

Tuning OTel Collector Performance Through Profiling

Talkat OTel Community Day North America 2024 · on Tuesday, 2024-06-25· at 10:50· 445· [observability]
links:none on file
slides:none on file

Uses Go's built‑in profiler and the PPR extension (OpenTelemetry profiles extend PPR) to find real issues: a Prometheus receiver heap region grows from ~0.5 GB to ~2.5 GB because the cumulative to Delta processor keeps entries in a sync map (cardinality leakage) — mitigation is configuring cache eviction; Windows process scraping spends ~88% of CPU time calling CreateToolhelp32Snapshot for parent PIDs, switching to a single WMI query cuts a scrape from ~740 ms to ~220 ms and disabling parent PID drops it to ~90 ms (PR open).

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:00Understanding profiling
  3. 2:59Getting started with pprof
  4. 3:42Case study: Memory leakage
  5. 8:17Case study: CPU performance
  6. 13:00Conclusion and future outlook
~/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.