Repository navigation
fix(loadtest): tag every sample with the pod size - #1377
Open
TheMeinerLP wants to merge 1 commit into
Open
TheMeinerLP wants to merge 1 commit into
TheMeinerLP wants to merge 1 commit into
Conversation
The Grafana dashboard groups the maximum table by pod size, but only the deploy requests carried a size, and that size was the artifact size (1KB to 200MB) under the same key. Every other sample of a sized run had no pod size, so the table could not be filtered by it. The runner now tags every sample of a run with its --size. A run on the chart default resources carries no size tag. The deploy requests keep their artifact size under artifact_size, so the pod size tag is not replaced on those samples.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When I compare capacity runs, I want to read one table: which topology holds which rate at which pod size. The dashboard already offers a Pod size filter for that table, but for most of the samples it found nothing. Only the deploy requests carried a size, and that size was the artifact size (1KB to 200MB) under the same name. A resolve run on the M size therefore showed up without its pod size, and the table could not be grouped by it.
Now every sample of a run carries the pod size the run was started with. A run on the chart default resources has no size, and no size tag is written for it, so it cannot be mistaken for a sized run. The deploy requests keep their artifact size under its own name, so the pod size is not overwritten on those samples.
The load test guide describes the tag next to the
--sizeoption. Closes no issue; it is part of theadd-load-testschange.Type of change
fix- bug fixfeat- new featurerefactor- internal change without behaviour changeperf- performance improvementdocs- documentation onlytest- tests onlybuild/ci/chore- tooling, dependencies, pipelinesHow was this tested?
Tests written first and seen to fail, then made green. They cover the size tag of a sized run, its absence on a run without a size, the refusal of a size that is not a tag value, the size tag in the TestRun arguments, and the artifact size of a deploy request under its own key.
The dashboard JSON is unchanged: its queries already filter on
size, and the tag now provides the label they match. No cluster run was started. The Gradle build is not involved.Checklist
CLAUDE.md(English, imperative, one offeat,fix,docs,refactor,test,build,ci,chore,perf)./gradlew buildpasses locally (not applicable:loadtest/does not use Gradle; the TypeScript checks are listed above)