Load testing your Prometheus Remote Write endpoints
summary
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
chapters (10)
- 0:00Introduction
- 0:37Why load testing
- 2:05Disclaimer
- 2:25Remote Write extension
- 2:36Create k6 binary
- 2:54Create k6 text
- 3:35Run test
- 3:52Summary
- 4:13Future
- 5:13Outro
related talks
45mDistributed load testing with k6
46mDistributed load testing with k6
48mPerformance Testing Workshop with k6
01h 55mWorkshop: Continuous Performance with k6 and Grafana
12mEcosystem Tools to Select the Best Remote Storage Solution
16mA Medley of Frontend and Backend Performance Testing?
02h 43mPrometheus from A to Z
24mHow to Be 10x SRE? A Deep Dive to Prometheus Operator
