owenofbrien
owenofbrien
We need to send otel telemetry logs to a centralized location to enable monitoring dashboards.
### Discussed in https://github.com/google-gemini/gemini-cli/discussions/4841 From the discussion above: "When the actual rate limit (Tokens Per Minute) of the Enterprise account is hit, the CLI displays a misleading error message referencing...
### What would you like to be added? When a session ends, print the session id and prompt ids. ### Why is this needed? For logs analysis and debugging use...
### What would you like to be added? We need a way to print the session id for non-interactive sessions. ### Why is this needed? The session id is needed...
### What happened? The GEMINI_CLI_FILE_OPERATION_TYPE event metadata key is registered as 57 in g3 (https://source.corp.google.com/piper///depot/google3/logs/proto/cloud/concord/event_metadata_keys/gemini_cli_key.proto;l=283;bpv=1;bpt=0), but it's registered as 66 in the CLI (https://github.com/google-gemini/gemini-cli/blob/main/packages/core/src/telemetry/clearcut-logger/event-metadata-key.ts#L268 which causes data to be dropped....
### What happened? Implement server-side fix to stop logging potential pii fields ### What did you expect to happen? Don't log pii fields ### Client information Client Information Run `gemini`...