diff options
| author | Jerop Kipruto <[email protected]> | 2025-06-15 21:12:57 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-16 01:12:57 +0000 |
| commit | e772dc2b854dff3e9949ce4a16918e97d656d6a2 (patch) | |
| tree | 234a5fc4afe0e7d32e6103ddf3b981a8ba725d9c /docs/core/telemetry.md | |
| parent | 5c8e49a0e3e84ea8d04f26201beb2f980e0a3951 (diff) | |
Decouple telemetry project ID configuration (#1077)
#750
Renames project ID for telemetry from `GOOGLE_CLOUD_PROJECT` to `OTLP_GOOGLE_CLOUD_PROJECT`.
This change allows for a separate Google Cloud Project to be used for telemetry data, distinct from the project used for other services like Vertex AI or Code Assist. This enhances clarity and flexibility in project configuration.
Diffstat (limited to 'docs/core/telemetry.md')
| -rw-r--r-- | docs/core/telemetry.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/core/telemetry.md b/docs/core/telemetry.md index 42719db5..9dc222f5 100644 --- a/docs/core/telemetry.md +++ b/docs/core/telemetry.md @@ -136,7 +136,7 @@ Use the `npm run telemetry -- --target=gcp` command which automates setting up a - Ensure you have a Google Cloud Project ID. - Export the `GOOGLE_CLOUD_PROJECT` environment variable to make it available to the OTEL collector. ```bash - export GOOGLE_CLOUD_PROJECT="your-project-id" + export OTLP_GOOGLE_CLOUD_PROJECT="your-project-id" ``` - Authenticate with Google Cloud (e.g., run `gcloud auth application-default login` or ensure `GOOGLE_APPLICATION_CREDENTIALS` is set). - Ensure your account/service account has the necessary roles: "Cloud Trace Agent", "Monitoring Metric Writer", and "Logs Writer". |
