Disable collection of metrics
Stay organized with collections
Save and categorize content based on your preferences.
This document describes how to disable the Cloud Monitoring API for a
Google Cloud project.
Disable collection of all metrics
To prevent the collection of all metrics, disable the Cloud Monitoring API:
Console
In the Google Cloud console, select the Google Cloud project,
and then go to the APIs & Services page:
Go to APIs & Services
Select Cloud Monitoring API.
Click Disable API.
gcloud
Run the following command to disable the Cloud Monitoring API in your
current project:
gcloud services disable monitoring.googleapis.com
For information about disabling an API by using Google Cloud CLI,
see Enabling and Disabling Services.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]