停用所有指标的收集
如需阻止收集所有指标,请停用 Cloud Monitoring API:
控制台
在 Google Cloud 控制台中,选择 Google Cloud 项目,然后前往 API 和服务页面:
选择 Cloud Monitoring API。
点击停用 API。
gcloud
运行以下命令可在当前项目中停用 Cloud Monitoring API:
gcloud services disable monitoring.googleapis.com
如需了解如何使用 Google Cloud CLI 停用 API,请参阅启用和停用服务。