gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Telemetry for business leaders?

Open SinOverCos opened this issue 1 year ago • 4 comments

What would you like to be added?

For organizations looking to adopt Gemini CLI for their engineers, is there telemetry available (like how much of a PR was written by gemini-cli)? To show the ROI on the token spend.

Ideally we can show how much Gemini contributed to a PR (by % of lines) but some basic stats like what Claude Code provides would be a great starting point.

Currently the telemetry is more on the operational side of things: https://github.com/google-gemini/gemini-cli/blob/7ddbf97634e906d7c294bdf5a94dbe12419ee7c1/docs/telemetry.md

Why is this needed?

This'll improve adoption from enterprises.

Additional context

No response

SinOverCos avatar Jul 25 '25 19:07 SinOverCos

@SinOverCos - thanks for filing this! Coincidentally, I was planning to add the following metrics soon:

  • Commit count
  • PR creation count

I'd also like to add metrics related to the % of created and merged PRs that was generated by the CLI. Those will be trickier to pull off, but stay tuned...

owenofbrien avatar Jul 25 '25 21:07 owenofbrien

@owenofbrien thanks! About the more advanced telemetry -- something like "how much of this PR can be attributed to gemini-cli", would that telemetry be available in the near future?

I'm also wondering how that might be implemented, since it'd need some very complex machinery to e.g. watch for filesystem changes to track which edits were human-made, and maybe even be able to tell if e.g. those non-gemini changes were from a human at all or from an AI IDE that's working alongside gemini-cli.

But being able to measure out just gemini's contribution to a PR would be amazing to have!

SinOverCos avatar Jul 25 '25 21:07 SinOverCos

Thanks for the feedback on this - we opened up a discussion post on this topic, in case you'd like to add any additional metrics than the ones mentioned in this thread.

See: https://github.com/google-gemini/gemini-cli/discussions/7665

blanca-delgado-parra avatar Sep 04 '25 18:09 blanca-delgado-parra

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 03 '25 22:12 gemini-cli[bot]