diff options
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}`, |
