~/talk

Extending Cilium with eBPF for Exposing HTTP/1 Golden Metrics

Talkat Cloud Native eBPF Day North America 2022 · on Monday, 2022-10-24· [observability]
links:none on file
slides:none on file

Extends Cilium with custom eBPF programs attached on egress and ingress to count requests, bucket 2xx/3xx errors, and measure latency by parsing response headers and tracking bytes until the Content-Length boundary. Encounters the verifier 1,000,000‑instruction limit, refactors using BPF tail calls to reset state, and reaches a content-length parser of ~600 bytes and a header parser of 1024 bytes. Exports Prometheus metrics via a bumblebee exporter. Works for plain HTTP but not for TLS, chunked transfer, or HTTP pipelining.

AI-written summary · about

  1. 0:00Intro
  2. 2:24Goal: HTTP Golden Metrics
  3. 3:23Extending Gaps in Cilium
  4. 3:55Background: State of the World
  5. 6:08Skeleton of a Packet
  6. 7:20Latency (Simple)
  7. 7:46Latency (Useful)
  8. 8:52Where to place programs
  9. 9:59Number of requests
  10. 10:29Keying metric for userspace
  11. 11:051. Communicating with userspace
  12. 13:06Errors (2)
  13. 13:22Latency - Concept
  14. 15:233. Latency - Verifier (3)
  15. 17:533. Latency - Reprised Architecture
  16. 19:093. Latency-Efficiencies Found
  17. 21:58Exported Metrics
  18. 23:01Limitations/Potential Improvements
  19. 23:36Conclusion
~/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.