报告和监控概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
定期查看 Google Maps Platform 的 API 用量、配额和结算信息很重要。这些信息可帮助您衡量 API 的用量,确保不超出预设的用量限制,并通过预算规划来控制费用。您还可以从这些信息中获得相关提醒,及时了解您的应用与 Google Maps Platform 服务之间可能发生的任何意外互动。
Maps Platform 提供了两种工具来帮助您查看用量、配额和结算信息:
报告
Maps Platform 中的报告工具提供了一组预定义的可视化报告,可让您在 Cloud 控制台中轻松查看基本的 API 用量、配额和结算信息。您可以使用 Cloud 控制台查看有关 Maps Platform 的 API 用量、配额和结算数据的报告。
API 和服务报告
Cloud 控制台中的 API 和服务报告会显示您已为项目启用的所有 API(包括 Maps Platform 的各个 API 和 SDK 以及所有其他 Google API 和服务)的用量指标。
下图显示了 API 和服务报告。

配额
配额用于限制项目可以向 Maps Platform 各 API 发出的请求数。您可以通过以下三种方式限制请求数:
只有成功的请求和导致服务器错误的请求才会计入配额。未通过身份验证的请求不计入配额。
配额用量以图表形式显示在 Cloud 控制台中的配额报告页面上。

结算
Cloud 控制台中的结算报告提供所选项目的结算及相关费用信息。
在 Cloud Billing 的“报告”页面中,您可以查看与某个 Cloud Billing 账号关联的所有项目的 Google Cloud 使用费。为方便查看重要的费用趋势,您可以选择数据范围,指定时间范围,配置图表过滤条件,以及按项目、服务、SKU 或位置进行分组。
Cloud Billing 报告可以帮助您回答如下问题:
- 本月的 Google Cloud 支出趋势如何?
- 上个月哪个项目的费用最高?
- 根据历史趋势,未来的费用预计是多少?
- 我在各个区域的支出是多少?
下图显示了结算报告。

监控
Cloud Monitoring 会收集关于您的服务和您使用的 Google Cloud 资源的衡量数据。例如,您可以监控指定时间间隔内的 API 调用次数或配额用量。
您不仅可以设定自定义指标和图表,还可以设定提醒。提醒可用于在服务的表现不符合您设定的标准时发送通知。例如,您可以通过电子邮件或短信等方式向 Cloud 控制台移动应用和选择的其他平台发送通知。
指标
在 Cloud Monitoring 中:
- 指标描述的是衡量的内容,例如某个 API 的调用次数、已使用的用量配额百分比或虚拟机的 CPU 利用率。
- 时序是一种数据结构,包含带时间戳的指标衡量数据以及关于这些衡量数据的来源和含义的信息。
如需探索指标数据,请使用 Metrics Explorer 创建图表。例如,如需查看某个 API 在过去一小时内每分钟的请求数,请使用 Metrics Explorer 创建一个图表来显示最新数据。

信息中心
信息中心可让您以一系列图表的形式查看和监控时序数据。如需创建自定义信息中心,您可以使用 Cloud 控制台或 Cloud Monitoring API。
下图显示了一个自定义信息中心,其中包含两个图表:左侧是配额图表,右侧是 API 计数图表。

提醒
如需在服务表现不符合您设定的标准时接收通知,请创建提醒政策。例如,您可以创建一条提醒政策,在服务返回的 HTTP 200 响应延迟时间第 90 百分位超过 100 毫秒时,让系统通知您的待命团队。
借助提醒,您可以及时了解您的云应用中出现的问题,以便迅速解决问题。
Cloud Monitoring 支持许多类型的提醒,例如:
- 指标阈值提醒:如果指标在特定时间段内高于或低于某个值,或指标增加或减少了某个预定义的百分比,则触发提醒。
- 预算提醒:在费用超过预算的特定百分比时触发通知。
- 配额提醒:在用量接近配额限制时触发通知。
后续内容
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[[["\u003cp\u003eRegularly review your Google Maps Platform API usage, quota, and billing information to control costs and identify unexpected application interactions.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Maps Platform provides Reporting and Monitoring tools to help you track and manage your API usage.\u003c/p\u003e\n"],["\u003cp\u003eReporting offers predefined visual reports in the Cloud Console for basic usage, quota, and billing insights.\u003c/p\u003e\n"],["\u003cp\u003eMonitoring provides customizable dashboards and alerts for in-depth tracking and proactive notifications.\u003c/p\u003e\n"],["\u003cp\u003eUse these tools to understand your API usage patterns, stay within quota limits, and optimize your spending.\u003c/p\u003e\n"]]],["Regularly review your Google Maps Platform API usage, quota, and billing to manage costs and detect unexpected activity. Utilize two main tools: Reporting and Monitoring. Reporting offers visual reports in the Cloud console to track API calls, quota limits, and billing. Monitoring provides tools to track these metrics, create custom dashboards, and set up alerts for predefined thresholds via various notification methods, including emails and SMS. Key actions include using Cloud console to track APIs and Billing, setting quotas, and setting metric, budget, and quota alerts.\n"],null,["# Reporting & monitoring overview\n\nIt's important to review your Google Maps Platform API usage, quota, and\nbilling information on a regular basis. This information helps you\nmeasure API usage, stay within predefined consumption limits, and control costs\nthrough planned budgets. Reviewing this information can also alert you to any unexpected\ninteractions that might occur between your applications and the\nGoogle Maps Platform services.\n\nThe Maps Platform provides two tools that can help you review\nusage, quota, and billing information:\n\n- [Reporting](/maps/reporting-and-monitoring/reporting): A set of predefined visual reports that let you easily see basic API usage, quota, and billing information in the Google Cloud console. You can quickly determine the number of API calls, see how close you are to hitting API usage quotas, and monitor billing usage over time.\n- [Monitoring](/maps/reporting-and-monitoring/monitoring):\n A set of tools, both in the Cloud console and through an API, that let you monitor API\n usage, quota, and billing information and define alerts when any of these\n metrics approaches a predefined limit.\n\n Monitoring lets you create your own customized\n monitoring dashboards displaying your metrics as different chart types. You can also\n issue alert notifications, such as emails or SMS text messages, when a metric\n crosses a predefined threshold.\n\nReporting\n---------\n\n[Reporting](/maps/reporting-and-monitoring/reporting)\nin the Maps Platform provides a set of predefined visual reports\nthat let you easily see basic API usage, quota, and billing information in the\nCloud console. View reports for your\nMaps Platform API usage, quota, and billing numbers by using the\n[Cloud console](https://console.cloud.google.com).\n\n### APIs \\& Services reports\n\nThe Cloud console [APIs \\& Services](https://console.cloud.google.com/project/_/apis/dashboard) report\nprovides usage metrics for all APIs enabled for your project, including the\nMaps Platform APIs and SDKs as well as all other Google APIs and\nservices.\n\nThis image shows the **APIs \\& Services** report.\n\n### Quotas\n\nQuotas set limits on the number of requests your project can make to the\nMaps Platform APIs. Requests can be limited in three ways:\n\n- Per day\n- Per minute\n- Per user per minute (where available)\n\nOnly successful requests and requests\nthat cause server errors count against quota. Requests that fail authentication\ndo not count against quota.\n\nQuota usage is displayed in graphs on the **Quotas** report\npage in the Cloud console.\n\n### Billing\n\nThe Cloud console [Billing](https://console.cloud.google.com/project/_/billing)\nreports provide billing and related cost information for the project you have selected.\n\nThe Cloud Billing Reports page lets you view your Google Cloud usage costs\nfor all projects linked to a Cloud Billing account. To help you view the cost\ntrends that are important to you, you can select a data range, specify a time\nrange, configure the chart filters, and group by project, service, SKU, or\nlocation.\n\nCloud Billing reports can help you answer questions like these:\n\n- How is my current month's Google Cloud spending trending?\n- What project cost the most last month?\n- What are my forecasted future costs based on historical trends?\n- How much am I spending by region?\n\nThis image shows the **Billing** report.\n\nMonitoring\n----------\n\n[Cloud Monitoring](/maps/reporting-and-monitoring/monitoring)\ncollects measurements of your service and of the Google Cloud resources\nthat you use. For example, you can monitor API calls or quota usage over a\nspecified time interval.\n\nNot only can you define custom metrics and charts, but you can also define\nalerts. Use alerts to send a notification when the performance of a service\ndoesn't meet criteria you define. For example, you can send a notification as an\nemail, text message, to the Cloud console Mobile App, and other\noptions.\n\n### Metrics\n\nIn Cloud Monitoring:\n\n- A *metric* describes something that is measured. Examples of metrics include the number of calls to an API, percent of a usage quota consumed, or a virtual machine's CPU utilization.\n- A *time series* is a data structure that contains time-stamped measurements of a metric and information about the source and meaning of those measurements.\n\nTo explore metric data, build a chart with Metrics Explorer. For example,\nto view the request count of an API in one minute intervals for the past hour, use\nMetrics Explorer to construct a chart that displays the most recent data.\n\n### Dashboards\n\n[Dashboards](https://cloud.google.com/monitoring/dashboards) let\nyou view and monitor your time-series data as a collection of charts. To create\ncustom dashboards, you can use the Cloud console or the\nCloud Monitoring API.\n\nThe following image shows a custom dashboard with two charts:\na quota chart on the left, and an API count chart on the right.\n\n### Alerts\n\nTo be notified when the performance of a service doesn't meet criteria you\ndefine, create an alerting policy. For example, you can create an alerting\npolicy that notifies your on-call team when the 90th percentile of the latency\nof HTTP 200 responses from your service exceeds 100 ms.\n\nAlerting gives timely awareness to problems in your cloud applications so you\ncan resolve the problems quickly.\n\nCloud Monitoring supports many types of alerts such as:\n\n- [Metric threshold alerts](https://cloud.google.com/monitoring/alerts/types-of-conditions#metric-threshold): Trigger an alert if a metric rises above or falls below a value for a specific duration or a metric increases or decreases by a predefined percentage.\n- [Budget alerts](https://cloud.google.com/billing/docs/how-to/budgets): Trigger notifications when your costs exceed a percentage of your budget.\n- [Quota alerts](https://cloud.google.com/monitoring/alerts/using-quota-metrics): Trigger notifications when your usage approaches a quota limit.\n\nWhat's next\n-----------\n\n- [Reporting](/maps/reporting-and-monitoring/reporting)\n- [Monitoring](/maps/reporting-and-monitoring/monitoring)"]]