diff options
| author | Jerop Kipruto <[email protected]> | 2025-06-23 01:10:26 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-23 06:10:26 +0100 |
| commit | 64e1c7df75366bccc268dcfeff367a715462f5b2 (patch) | |
| tree | 7b24e7e7ae6a96741b1e10ecd320c5b07207c407 /scripts | |
| parent | da128e725dadbba5bb031b98036a267dc70a9e35 (diff) | |
docs: update telemetry documentation and scripts (#1318)
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/local_telemetry.js | 5 | ||||
| -rwxr-xr-x | scripts/telemetry_gcp.js | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/local_telemetry.js b/scripts/local_telemetry.js index 561ce5f8..d7ff6941 100755 --- a/scripts/local_telemetry.js +++ b/scripts/local_telemetry.js @@ -207,6 +207,11 @@ async function main() { ` š View traces in the Jaeger UI: http://localhost:${JAEGER_PORT}`, ); + console.log(`š View metrics in the logs and metrics: ${OTEL_LOG_FILE}`); + console.log( + ` +š Tail logs and metrics in another terminal: tail -f ${OTEL_LOG_FILE}`, + ); console.log(` Press Ctrl+C to exit.`); } diff --git a/scripts/telemetry_gcp.js b/scripts/telemetry_gcp.js index 710fbe17..7e2d287b 100755 --- a/scripts/telemetry_gcp.js +++ b/scripts/telemetry_gcp.js @@ -169,6 +169,9 @@ async function main() { '\nš To send telemetry, run the Gemini CLI in a separate terminal window.', ); console.log(`\nš Collector logs are being written to: ${OTEL_LOG_FILE}`); + console.log( + `š Tail collector logs in another terminal: tail -f ${OTEL_LOG_FILE}`, + ); console.log(`\nš View your telemetry data in Google Cloud Console:`); console.log( ` - Logs: https://console.cloud.google.com/logs/query;query=logName%3D%22projects%2F${projectId}%2Flogs%2Fgemini_cli%22?project=${projectId}`, |
