gemini-cli/docs
Jerop Kipruto 95e4a60a83
Telemetry: Auto-export to GCP if GOOGLE_CLOUD_PROJECT is set (#1003)
This change simplifies telemetry setup for users who want to integrate with GCP, as they no longer need to configure a local collector or an explicit endpoint if their project is already set up in the environment.

This change updates the telemetry system to automatically export traces, logs, and metrics to Google Cloud Platform (GCP) if the `GOOGLE_CLOUD_PROJECT` environment variable is set and no explicit `telemetryOtlpEndpoint` is configured by the user.

Key changes:
-   The default `telemetryOtlpEndpoint` in `Config` is now an empty string.
-   The `initializeTelemetry` SDK logic now prioritizes:
    -  User-defined `telemetryOtlpEndpoint`.
    -  `GOOGLE_CLOUD_PROJECT` for direct GCP export.
    -  Console exporters as a fallback.
-   If an invalid `telemetryOtlpEndpoint` is provided, it falls back to console exporters with a warning.

#750
2025-06-13 03:51:41 -04:00
..
assets Add Theme docs (#753) 2025-06-05 08:10:05 -07:00
cli Code Assist cleanup and docs (#993) 2025-06-12 18:00:17 -07:00
core Telemetry: Auto-export to GCP if GOOGLE_CLOUD_PROJECT is set (#1003) 2025-06-13 03:51:41 -04:00
tools Added note about using MCP/tools with a sandbox (#933) 2025-06-11 22:49:58 -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 Extensibility: Gemini.md files (#944) 2025-06-11 20:34:35 +00: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