~/talk

OpenTelemetry Metrics Just Got 25× Faster

links:none on file
slides:none on file

OpenTelemetry drops Counter recording cost from about 50 ns (with three attributes) to under 2 nanoseconds by pre-resolving attribute sets into bound instruments so attribute normalization and hashmap lookups move to startup; profiling shows ~48 ns spent on attribute work vs ~2 ns on the numeric update. Gains are largest for high-frequency counters with fixed attribute values; histograms see smaller improvements. Creating all bound instruments but retrieving them from a map negates the speedup. Previews available in multiple languages; measured in OTel Rust SDK.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Metrics SDK overview
  3. 4:30Bound instruments explained
  4. 6:56When to use bound instruments
  5. 9:05Recap and takeaways
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.