~/lightning

Load testing your Prometheus Remote Write endpoints

Lightningat PromCon Online 2021 · on Monday, 2021-05-03· [testing, devops-and-delivery]
links:none on file
slides:none on file

Built a tiny experimental xk6-remote-write extension and a custom k6 binary to push Prometheus samples to Cortex/Thanos or Prometheus 2.25 remote_write, sending samples as HTTP requests and asserting 200 responses. Runs shown: 10 seconds with 50 producers, producing k6 metrics plus custom remote_request_duration and remote_write_request_total. Works end-to-end for basic scenarios but is experimental, needs refactor toward the official client, and lacks a native Prometheus output (there’s an open issue and ideas for an xk6 output).

AI-written summary · about

  1. 0:00Introduction
  2. 0:37Why load testing
  3. 2:05Disclaimer
  4. 2:25Remote Write extension
  5. 2:36Create k6 binary
  6. 2:54Create k6 text
  7. 3:35Run test
  8. 3:52Summary
  9. 4:13Future
  10. 5:13Outro
~/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.