Closed
Description
What
As defined by the code's comment below, we should use a better name that matches the purpose for MaxMetricSamplesPerPackage
in cloudv2
.
cloudv2
uses MaxMetricSamplesPerPackage
for defining the max number of time series in a single flush batch. Instead, the current option defines the number of k6 samples.
Lines 34 to 36 in 1df72a0
k6/output/cloud/expv2/output.go
Lines 110 to 112 in 1df72a0
Why
MaxMetricSamplesPerPackage
is inherited from v1 but we should use a cleaner and dedicated field.
Suggestion
Add a dedicated new field for defining the max number of series in a single flush batch.