Answer: Configure telemetry in `.gemini/settings.json` with target "gcp" and useCollector true, start the telemetry collector with `npm run telemetry -- --target=gcp`, then view your data in the Google Cloud Console after sending prompts. Status: Confirmed Entry: tool/gemini-cli/troubleshooting/view-traces-google-cloud Revision: 1 Digest: sha256:292929620bad5709 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:43Z Last changed: 2026-11-13T03:18:43Z Last verified: 2026-11-20T12:53:22Z Next check: 2026-11-21T12:53:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of telemetry target | gcp | [1] | 2026-11-20 useCollector setting | true | [1] | 2026-11-20 collector start command | npm run telemetry -- --target=gcp | [1] | 2026-11-20 collector logs path | ~/.gemini/tmp//otel/collector-gcp.log | [1] | 2026-11-20 where to view traces | Google Cloud Console | [1] | 2026-11-20 Sources: [1] Google. "Local development guide". https://geminicli.com/docs/local-development.md Role: primary. Accessed: 2026-11-20T12:53:22Z Quote: ""target": "gcp"," (Supports: telemetry target) Quote: ""useCollector": true" (Supports: useCollector setting) Quote: "npm run telemetry -- --target=gcp" (Supports: collector start command) Quote: "**Collector logs:** `~/.gemini/tmp//otel/collector-gcp.log`" (Supports: collector logs path) Quote: "After sending prompts, view your data in the Google Cloud Console." (Supports: where to view traces) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 9e0238545439a95ea1a15136f7b5da2a10b6f54fded386cb636d102a1e8d8f2f (captured 2026-11-13T03:18:43Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:18:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:22Z Last attempt: 2026-11-20T12:53:22Z Notes and limitations: Extracted automatically from a single official source (section "Use Google Cloud"). Related: https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-jaeger How do I view Gemini CLI traces using Jaeger? https://latestn.com/tool/gemini-cli/troubleshooting/vscode-connection-errors How do I troubleshoot connection errors with the Gemini CLI VS Code companion extension? https://latestn.com/tool/gemini-cli/troubleshooting/web-tools-troubleshooting How do I troubleshoot errors when using Gemini CLI web search and fetch? https://latestn.com/tool/gemini-cli/troubleshooting/verify-model-serving How do I verify that the local Gemma model is being served for Gemini CLI routing? https://latestn.com/tool/gemini-cli/troubleshooting/verify-skill-discovery How do I verify that Gemini CLI discovered my Agent Skill? https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-genkit How do I view Gemini CLI traces using Genkit? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-google-cloud/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/view-traces-google-cloud POST: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/view-traces-google-cloud with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/troubleshooting/view-traces-google-cloud?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I view Gemini CLI traces using Google Cloud? Revision 1, last verified 2026-11-20T12:53:22Z. https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-google-cloud (accessed 2026-11-21T10:00:04Z). @misc{LatestN_tool_gemini_cli_troubleshooting_view_traces_google_cloud_r1, title = {How do I view Gemini CLI traces using Google Cloud?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-google-cloud}}, note = {Revision 1; digest sha256:292929620bad5709; last verified 2026-11-20T12:53:22Z; accessed 2026-11-21T10:00:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/troubleshooting/view-traces-google-cloud