docs: update telemetry documentation and scripts (#1318)

This commit is contained in:
Jerop Kipruto 2025-06-23 01:10:26 -04:00 committed by GitHub
parent da128e725d
commit 64e1c7df75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 45 additions and 40 deletions

View file

@ -206,6 +206,11 @@ async function main() {
console.log(
`
🔎 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.`);

View file

@ -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}`,