~/talk

Loki: An OpenSource Zipkin / Prometheus Mashup, Written in Go

Talkat CloudNativeCon + KubeCon Europe 2017 · on Wednesday, 2017-03-29· at 14:40· A 05· [observability]
slides:none on file

A Zipkin-compatible tracer written in Go that reused Prometheus service discovery to pull-based scraping of in-process ring buffers, Loki prototypes a pull model for traces rather than push. Implementation is ~1.5k lines Go: a client with a capped ring buffer (development value 1k traces), a naive in-memory million-trace store, and a Zipkin-compatible API + UI. Used to debug Cortex distributor latency: a protobuf reflection hot path is fixed with gogo/protobuf and unsafe string reuse, dropping 99th-percentile latency from ~80–100ms to ~25ms. Current limits: single-process storage, slow queries, partial traces from scrape jitter.

AI-written summary · about

  1. 0:00Start
  2. 2:41Weave Tracer
  3. 3:49What Makes Loki Different to Your Standard Distributed Tracer
  4. 5:00Graphite
  5. 6:18Prometheus Model
  6. 6:30Prometheus's Service Discovery Integrations
  7. 9:22The Prometheus Retrieval Library
  8. 10:11In Memory Storage
  9. 10:46Relabeling
  10. 17:28Demo
  11. 23:09Why Did I Write My Own Tracer
  12. 24:45Prometheus Metrics
~/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.