Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable usage reporting in the Google Cloud SDK (gcloud)?

The Google Cloud SDK collects anonymized metrics on usage in order to help the team better understand how to prioritize the development of new features and improvements.

While I can select whether to enable usage reporting at installation time, how can I turn it off later if I change my mind?

like image 799
Zachary Newman Avatar asked Mar 14 '23 21:03

Zachary Newman


1 Answers

If you've decided that you no longer want your install of the Google Cloud SDK to send usage data, you can run the following command:

gcloud config set disable_usage_reporting true

To enable metrics, run the following:

gcloud config set disable_usage_reporting false

This information can be found in the install-time output:

Welcome to the Google Cloud SDK!

To help improve the quality of this product, we collect anonymized data on how the SDK is used. You may choose to opt out of this collection now (by choosing 'N' at the below prompt), or at any time in the future by running the following command:

gcloud config set disable_usage_reporting true

For more information, see the Usage Statistics page on the Google Cloud SDK website.

like image 180
Zachary Newman Avatar answered Apr 27 '23 06:04

Zachary Newman