An open-source AI agent that brings the power of Gemini directly into your terminal.
Refactor: Use telemetry_utils.js in local_telemetry.js (#1066)
## TLDR Refactors `scripts/local_telemetry.js` to use shared helper functions and constants from `scripts/telemetry_utils.js`. ## Dive Deeper This change centralizes common telemetry-related logic, including: - Binary downloading and management (`ensureBinary`) - Reading and writing JSON files - Waiting for network ports - Managing workspace telemetry settings (`manageTelemetrySettings`) - Process cleanup and signal handling (`registerCleanup`) By using the shared utilities, `local_telemetry.js` becomes more concise and focused on its specific task of setting up the local OpenTelemetry and Jaeger environment. ## Docs https://github.com/google-gemini/gemini-cli/blob/main/docs/core/telemetry.md#local-telemetry-with-jaeger-ui-for-traces ## Issue #750
J
Jerop Kipruto committed
4421ef126fc6a2de89132aa35c261bf78cd481d2
Parent: b67806a
Committed by GitHub <noreply@github.com>
on 6/15/2025, 7:32:12 PM