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