Skip to content

Commit

Permalink
cloudv2: Downscale the batch size
Browse files Browse the repository at this point in the history
The backend has the limit set to 1k so it doesn't make sense to use a
bigger value forcing the system to split a single batch in multiple
jobs.
  • Loading branch information
codebien committed Jul 13, 2023
1 parent ea3a23d commit 611e64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudapi/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func NewConfig() Config {
TracesPushConcurrency: null.NewInt(1, false),

MaxMetricSamplesPerPackage: null.NewInt(100000, false),
MaxTimeSeriesInBatch: null.NewInt(10000, false),
MaxTimeSeriesInBatch: null.NewInt(1000, false),
Timeout: types.NewNullDuration(1*time.Minute, false),
APIVersion: null.NewInt(1, false),
// Aggregation is disabled by default, since AggregationPeriod has no default value
Expand Down

0 comments on commit 611e64b

Please sign in to comment.