~/talk

Behind the Iron Curtain: Getting Metrics From the Browser into Prometheus

Talkat CloudNativeCon + KubeCon Europe 2017 · on Thursday, 2017-03-30· at 16:25· A 06· [web-performance]
slides:none on file

Project sends user-facing metrics and JS errors into Prometheus by embedding a small JavaScript library that emits the Prometheus exposition format, wraps React views with a higher-order render tracker, and does client-side pre-aggregation before pushing to a custom aggregating gateway (Pushgateway rejected due to cardinality). Metrics push every 15s, counters reset on push, alerts trigger on rising error rate and render failures, data persists to disk on the gateway, and the implementation is open source and demonstrated working (dev env showed high latency values to investigate).

AI-written summary · about

  1. 0:00Introduction
  2. 3:37Failure modes
  3. 7:39JavaScript
  4. 11:02High Request Agency
  5. 11:57Backend
  6. 12:42Push Gateway
  7. 13:38Prometheus aggregating
  8. 14:08Prometheus artifacts
  9. 16:09Demo
  10. 20:37Questions
~/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.