diff options
Diffstat (limited to 'scripts/telemetry_gcp.js')
| -rwxr-xr-x | scripts/telemetry_gcp.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/telemetry_gcp.js b/scripts/telemetry_gcp.js index c88a9dbc..710fbe17 100755 --- a/scripts/telemetry_gcp.js +++ b/scripts/telemetry_gcp.js @@ -78,18 +78,18 @@ async function main() { originalSandboxSetting, ); - const projectId = process.env.GOOGLE_CLOUD_PROJECT; + const projectId = process.env.OTLP_GOOGLE_CLOUD_PROJECT; if (!projectId) { console.error( - 'š Error: GOOGLE_CLOUD_PROJECT environment variable is not exported.', + 'š Error: OTLP_GOOGLE_CLOUD_PROJECT environment variable is not exported.', ); console.log( ' Please set it to your Google Cloud Project ID and try again.', ); - console.log(' `export GOOGLE_CLOUD_PROJECT=your-project-id`'); + console.log(' `export OTLP_GOOGLE_CLOUD_PROJECT=your-project-id`'); process.exit(1); } - console.log(`ā
Using Google Cloud Project ID: ${projectId}`); + console.log(`ā
Using OTLP Google Cloud Project ID: ${projectId}`); console.log('\nš Please ensure you are authenticated with Google Cloud:'); console.log( |
