How to disable Stackdriver Monitoring for a project

google-cloud-platformgoogle-stackdriver

After receiving the email from Google about billing changes for Stackdriver Monitoring, I'd like to disable this for our project because we're not currently using it.

Is it possible to disable the Monitoring (not Logging) across an entire GCP project and if so how?

Doc's don't seem very clear on this and there's nothing I can see in the normal Cloud Console, or the Stackdriver one.

Best Answer

You need to remove the project from your stackdriver account. This will stop the monitoring and not affect your log collecting solution. To remove the project follow the steps listed here:

Remove Project from Stackdriver Account

  • Open the Monitoring console.

  • Select the Stackdriver account that contains the project or AWS connector from the drop-down menu at the top-right of the Monitoring console.

  • Select Account Settings from the same menu.

  • On the "Settings" page, click Monitored accounts. You see the following page: enter image description here

  • Locate the project or AWS connector you want to remove and select Remove from account from the menu to the right of the project's name.

Delete Stackdriver Account (Applicable if you have only 1 account)

Additionally, if you need to delete your stackdriver account, you need to delete the project that is hosting your stackdriver account in the GCP console:

https://cloud.google.com/monitoring/accounts/guide#delete-account

To delete a Stackdriver account, delete the account's hosting project in the GCP Console. The hosting project has the same name as the account. It is not possible to separate the Stackdriver account from the hosting project without deleting the hosting project.

Stackdriver removes any additional monitored GCP projects or AWS accounts associated with the deleted Stackdriver account. To avoid the loss of monitoring data and logs from these projects, see the sections on Moving projects to a different Stackdriver account, and Merging Stackdriver accounts.

Related Topic