siso: enable collector by default when metrics collection is on.

Bug: b/455433899
Change-Id: Icdc8f0fb516ed9782f85a935d733b9f26a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/7366313
Commit-Queue: Alex Ovsienko <ovsienko@google.com>
Reviewed-by: Junji Watanabe <jwata@google.com>
This commit is contained in:
Alex Ovsienko
2026-01-04 17:12:01 -08:00
committed by LUCI CQ
parent 967382fdcd
commit a4318057fe
2 changed files with 18 additions and 13 deletions

View File

@@ -256,7 +256,7 @@ def apply_metrics_labels(args: list[str]) -> list[str]:
def apply_telemetry_flags(args: list[str], env: dict[str, str]) -> list[str]:
telemetry_flags = [
"enable_cloud_monitoring", "enable_cloud_profiler",
"enable_cloud_trace", "enable_cloud_logging"
"enable_cloud_trace", "enable_cloud_logging", "enable_collector"
]
# Despite go.dev/issue/68312 being fixed, the issue is still reproducible
# for googlers. Due to this, the flag is still applied while the