Skip to content

fix(load): push k6 samples every second - #5127

Merged
shepilov merged 1 commit into
masterfrom
fix/load-k6-push-interval
Oct 30, 2026
Merged

shepilov merged 1 commit into
masterfrom
fix/load-k6-push-interval

Conversation

@shepilov

Copy link
Copy Markdown
Member

k6 pushed metrics to Prometheus every 5 s (the default), so a capacity attempt shorter than that left one sample per counter. The Workload tab's request rates were then empty for that point. On the last DEV capacity run, the discoveries at 2, 4, 8 and 16 workers had a single upload sample each, while confirmations had 13–44.

This sets K6_PROMETHEUS_RW_PUSH_INTERVAL=1s on the k6 service and updates the dashboard note.

Smoke runs don't change: each smoke attempt uploads for under a second and k6 sends one final sample. Average upload rate by worker count on Overview remains the rate for those.

Tests: make node-checks passes, 663 tests. A local smoke passes, exit 0.

k6 pushed its metrics to Prometheus every 5 s, so a capacity attempt of a
few seconds left one sample per counter and no request rate on the
Workload tab. On the last DEV capacity run, the discoveries at 2, 4, 8 and
16 workers had a single sample each. One push per second gives them the
two samples a rate needs.
@shepilov
shepilov requested a review from taratatach as a code owner October 30, 2026 11:50
@shepilov
shepilov removed the request for review from taratatach October 30, 2026 11:50
@shepilov
shepilov merged commit c665e15 into master Oct 30, 2026
4 checks passed
@shepilov
shepilov deleted the fix/load-k6-push-interval branch October 30, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant