gemini-cli/docs
Jerop Kipruto 714421c2da
Add file operation telemetry (#1068)
Introduces telemetry for file create, read, and update operations.

This change adds the `gemini_cli.file.operation.count` metric, recorded by the `read-file`, `read-many-files`, and `write-file` tools.

The metric includes the following attributes:
    - `operation` (string: `create`, `read`, `update`): The type of file operation.
    - `lines` (optional, Int): Number of lines in the file.
    - `mimetype` (optional, string): Mimetype of the file.
    - `extension` (optional, string): File extension of the file.

Here is a stacked bar chart of file operations by extension (`js`, `ts`, `md`):
![image](https://github.com/user-attachments/assets/3e8f8ea9-6155-4186-863c-075cc47647c5)

Here is a stacked bar chart of file operations by type (`create`, `read`, `update`):
![image](https://github.com/user-attachments/assets/3fcf491d-31d0-4ba8-80e6-7fd2bd9c7c27)

#750 

cc @allenhutchison as discussed
2025-06-15 13:24:53 -07:00
..
assets Add Theme docs (#753) 2025-06-05 08:10:05 -07:00
cli Add support for /mcp schema to show full parameter schema as JSON (#1050) 2025-06-15 11:25:40 -07:00
core Add file operation telemetry (#1068) 2025-06-15 13:24:53 -07:00
tools Improvements to web-fetch tool (#1030) 2025-06-13 17:44:14 -07:00
architecture.md Edit pass of docs/architecture.md (#971) 2025-06-12 16:44:55 +00:00
deployment.md docs: add deployment documentation (#874) 2025-06-09 19:58:24 +00:00
extension.md Fix default extension context filename and update docs (#1024) 2025-06-13 13:57:00 -07:00
index.md Allow simple extensions for registering MCPservers (#890) 2025-06-10 15:48:39 -07:00
troubleshooting.md rename shell tool more intuitively as run_shell_command (from historical name of execute_bash_command inherited from terminal tool) (#869) 2025-06-09 08:57:30 -07:00