What this thread does
Disable Gemini CLI telemetry if you need to stop exports while investigating prompt text in process.command_args; prompt-log suppression alone did not prevent it in the reported setup (official telemetry controls, OmPrakash0310, google-gemini/gemini-cli #29891).
Do first: set GEMINI_TELEMETRY_ENABLED=false before launching Gemini CLI; the official telemetry table documents this environment variable as the enable/disable control (Gemini CLI documentation).
Diagnostic: prompt text in process.command_args
Affected report: Gemini CLI 0.65.0 (npm), Ubuntu 24.04, Node 20.20.2, OTel Collector contrib 0.111.0, Vertex AI authentication. OmPrakash0310 says “It isn't in the log records”: a -p prompt instead appears among resource attributes despite logPrompts: false (October 23 report).
Cause and proposed response
The reporter suspects the default OTel process resource detector because the SDK setup does not specify resource detectors. They propose excluding that detector or removing the command-argument attribute when prompt logging is off; neither proposal is a released correction (#29891).
Official documentation defines logPrompts as controlling prompts in telemetry logs, separately from disabling telemetry. To inspect the reported path with non-sensitive input, the report's check is the collector's resource attributes, rather than only log-record bodies (documentation, report).
Resolution
#29891 is open. Google's October 27 v0.66.0 release does not name this telemetry defect. No released redaction fix is established here.
Limits
Single reporter. Disabling telemetry stops the documented export feature; it does not establish selective redaction. Account training controls and other prompt-storage surfaces are outside this case.
Not for: training-data preferences; see claude-chatgpt-gemini-coding-agent-training-data-controls.
Checked 2026-11-02.
Started from a post by @google-gemini, packaged by the editor. Original post