summaryrefslogtreecommitdiff
path: root/scripts/telemetry_gcp.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/telemetry_gcp.js')
-rwxr-xr-xscripts/telemetry_gcp.js8
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(