Answer: You control telemetry behavior through the `.gemini/settings.json` file, using settings such as `enabled`, `traces`, `target`, `otlpEndpoint`, `otlpProtocol`, `otlpHeaders`, `outfile`, `logPrompts`, `useCollector`, and `useCliAuth`; environment variables can override these settings. Status: Confirmed Entry: tool/gemini-cli/settings/configure-telemetry-settings Revision: 1 Digest: sha256:86c82768fad58e38 (changes whenever the content changes) Timeline: Created: 2026-11-14T12:48:42Z Last changed: 2026-11-14T12:48:42Z Last verified: 2026-11-20T12:51:35Z Next check: 2026-11-21T12:51:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of settings file | .gemini/settings.json | [1] | 2026-11-20 enabled default | false | [1] | 2026-11-20 target default | "local" | [1] | 2026-11-20 otlpEndpoint default | http://localhost:4317 | [1] | 2026-11-20 otlpProtocol default | "grpc" | [1] | 2026-11-20 logPrompts default | true | [1] | 2026-11-20 useCollector default | false | [1] | 2026-11-20 useCliAuth default | false | [1] | 2026-11-20 Sources: [1] Google. "Observability with OpenTelemetry". https://geminicli.com/docs/cli/telemetry.md Role: primary. Accessed: 2026-11-20T12:51:35Z Quote: "You control telemetry behavior through the `.gemini/settings.json` file." (Supports: settings file) Quote: "| `enabled` | `GEMINI_TELEMETRY_ENABLED` | Enable or disable telemetry | `true`/`false` | `false` |" (Supports: enabled default) Quote: "| `target` | `GEMINI_TELEMETRY_TARGET` | Where to send telemetry data | `"gcp"`/`"local"` | `"local"` |" (Supports: target default) Quote: "| `otlpEndpoint` | `GEMINI_TELEMETRY_OTLP_ENDPOINT` | OTLP collector endpoint | URL string | `http://localhost:4317` |" (Supports: otlpEndpoint default) Quote: "| `otlpProtocol` | `GEMINI_TELEMETRY_OTLP_PROTOCOL` | OTLP transport protocol | `"grpc"`/`"http"` | `"grpc"` |" (Supports: otlpProtocol default) Quote: "| `logPrompts` | `GEMINI_TELEMETRY_LOG_PROMPTS` | Include prompts in telemetry logs | `true`/`false` | `true` |" (Supports: logPrompts default) Quote: "| `useCollector` | `GEMINI_TELEMETRY_USE_COLLECTOR` | Use external OTLP collector (advanced) | `true`/`false` | `false` |" (Supports: useCollector default) Quote: "| `useCliAuth` | `GEMINI_TELEMETRY_USE_CLI_AUTH` | Use CLI credentials for telemetry (GCP target only) | `true`/`false` | `false` |" (Supports: useCliAuth default) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 3c894a2e8bea0d514f4d544cd2b58e4cde580c807371ce1d41ab13bc3e3268ee (captured 2026-11-13T03:17:49Z) 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-14T12:48:42Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:35Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:35Z Last attempt: 2026-11-20T12:51:35Z Notes and limitations: Extracted automatically from a single official source (section "Configuration"). Related: https://latestn.com/tool/gemini-cli/settings/custom-theme How do I create a custom color theme for Gemini CLI? https://latestn.com/tool/gemini-cli/settings/customize-plan-mode How do I customize Gemini CLI Plan Mode with policies or skills? https://latestn.com/tool/gemini-cli/settings/delete-session-history How do I delete a Gemini CLI session from history? https://latestn.com/tool/gemini-cli/settings/configure-hooks-settings-json How do I configure hooks in Gemini CLI's settings.json? https://latestn.com/tool/gemini-cli/settings/configure-mcp-server-settings How do I configure an MCP server in Gemini CLI's settings.json? https://latestn.com/tool/gemini-cli/settings/configure-settings-json How do I configure Gemini CLI settings using settings.json files? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-14T12:48:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/settings/configure-telemetry-settings/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/settings/configure-telemetry-settings POST: https://latestn.com/dispute/tool/gemini-cli/settings/configure-telemetry-settings with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/settings/configure-telemetry-settings?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Gemini CLI telemetry settings in settings.json? Revision 1, last verified 2026-11-20T12:51:35Z. https://latestn.com/tool/gemini-cli/settings/configure-telemetry-settings (accessed 2026-11-21T09:59:33Z). @misc{LatestN_tool_gemini_cli_settings_configure_telemetry_settings_r1, title = {How do I configure Gemini CLI telemetry settings in settings.json?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/settings/configure-telemetry-settings}}, note = {Revision 1; digest sha256:86c82768fad58e38; last verified 2026-11-20T12:51:35Z; accessed 2026-11-21T09:59:33Z} } 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/settings/configure-telemetry-settings