You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`keep_payloads`| bool |`False`| Keep payload files after successful upload |
304
304
|`filter_prefix`| bool |`False`| Only upload files matching `span_events_*.json` or `coverage_*.json`|
305
305
|`gzip_payloads`| bool |`False`| Gzip test payloads before upload |
306
-
|`workers`| int |`4`| Maximum independent payload-file workers in Python mode; `DD_TEST_OPTIMIZATION_WORKERS` and `--workers` override it at runtime |
306
+
|`workers`| int |`8`| Maximum independent payload-file workers in Python mode; `DD_TEST_OPTIMIZATION_WORKERS` and `--workers` override it at runtime |
307
307
|`use_python_uploader`| bool |`False`| Opt in to the parallel Python uploader; requires host Python 3.10+ at uploader runtime |
308
308
|`data`| label_list |`[]`| Data files to include (for example, `context.json` for enrichment) |
309
309
|`expected_targets`| string_list |`[]`| Optional exact local labels expected in the matching BEP. Fresh and cached results jointly satisfy coverage; only fresh outputs are inspected or uploaded |
Copy file name to clipboardExpand all lines: docs/Uploader_Reference.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ dd_test_optimization_targets(
172
172
sync_repo_name="test_optimization_data",
173
173
uploader_kwargs= {
174
174
"use_python_uploader": True,
175
-
"workers": 4,
175
+
"workers": 8,
176
176
},
177
177
)
178
178
```
@@ -186,7 +186,7 @@ worker can process test, coverage, or telemetry payloads; chunks and other
186
186
derived requests belonging to one source remain sequential. Test and telemetry
187
187
JSON reject non-standard numbers (`NaN` and positive/negative `Infinity`) before
188
188
HTTP; coverage bodies remain opaque JSON/msgpack multipart parts. The
189
-
rule-level `workers` value defaults to `4`; `DD_TEST_OPTIMIZATION_WORKERS`
189
+
rule-level `workers` value defaults to `8`; `DD_TEST_OPTIMIZATION_WORKERS`
190
190
overrides it at runtime and `--workers=<positive-integer>` has highest
191
191
precedence. Leave
192
192
`use_python_uploader = False` (the default) to retain the legacy Bash or
@@ -301,7 +301,7 @@ bazel run --config=test-optimization //:dd_upload_payloads
301
301
|`DD_TEST_OPTIMIZATION_FILTER_PREFIX`|`0`|`0` uploads all payload files; set to `1` to only upload `span_events_*.json` or `coverage_*.json`|
302
302
|`DD_TEST_OPTIMIZATION_DEBUG`|`0`| Set to `1` to enable verbose upload logging (HTTP codes, response bodies, startTime stats, and key runfile/CODEOWNERS resolution hits) |
303
303
|`DD_TEST_OPTIMIZATION_GZIP`|`0`| Set to `1` to gzip test payloads before upload (adds `Content-Encoding: gzip`) |
304
-
|`DD_TEST_OPTIMIZATION_WORKERS`| rule `workers` (`4`) | Override the maximum independent payload-file workers in Python mode; `--workers` has higher precedence |
304
+
|`DD_TEST_OPTIMIZATION_WORKERS`| rule `workers` (`8`) | Override the maximum independent payload-file workers in Python mode; `--workers` has higher precedence |
305
305
|`DD_TEST_OPTIMIZATION_MAX_WAIT_SEC`|`300`| Override max wait time for slow filesystems (NFS, network drives); set to `0` to skip waiting when no payloads are present |
306
306
|`DD_TEST_OPTIMIZATION_QUIESCENT_SEC`|`10`| Override quiescence wait time |
307
307
|`DD_TEST_OPTIMIZATION_MAX_DEPTH`|`0` (unlimited) | Limit `find` depth for large `bazel-testlogs` trees |
0 commit comments