如何知道我在 Google Cloud ML 上使用了多少节点小时进行预测?
How to know if how many node hours I have used on a Google Cloud ML for prediction?
我试图找出如何获取我的 Google Cloud ML Prediction API 的节点小时使用率,但没有找到。有没有办法知道使用情况,除了看账单?
Here 是我参考的 API 文档。
您引用的文档页面是 Cloud Machine Learning Engine API documentation:
的一部分
An API to enable creating and using machine learning models.
API用于使用产品本身,不包含产品的账单信息。
您想要查看的账单信息Cloud Billing and its API:
With this API, you can do any of the following.
For billing accounts:
...
- Get billing information for a project.
然而,从快速浏览文档(我还没有使用它)来看,API 本身似乎并没有直接提供您正在寻找的特定信息。但获取该信息的可能方法似乎是:
- 使用 Billing Reports:
The Cloud Billing Reports page lets you view your Google Cloud
Platform (GCP) usage costs at a glance and discover and analyze
trends. The Reports page displays a chart that plots usage costs for
all projects linked to a billing account. To help you view the cost
trends that are important to you, you can select a data range, specify
a time range, configure the chart filters, and group by project,
product, or SKU.
Billing reports can help you answer questions like these:
- How is my current month's GCP spending trending?
To access a detailed breakdown of your charges, you can export your
daily usage and cost estimates automatically to a CSV or JSON file
stored in a Google Cloud Storage bucket you specify. You can then
access the data via the Cloud Storage API, CLI tool, or Google Cloud
Platform Console.
Billing export to BigQuery enables you to export your daily usage and
cost estimates automatically throughout the day to a BigQuery dataset
you specify. You can then access your billing data from BigQuery. You
can also use this export method to export data to a JSON file.
我试图找出如何获取我的 Google Cloud ML Prediction API 的节点小时使用率,但没有找到。有没有办法知道使用情况,除了看账单? Here 是我参考的 API 文档。
您引用的文档页面是 Cloud Machine Learning Engine API documentation:
的一部分An API to enable creating and using machine learning models.
API用于使用产品本身,不包含产品的账单信息。
您想要查看的账单信息Cloud Billing and its API:
With this API, you can do any of the following.
For billing accounts:
...
- Get billing information for a project.
然而,从快速浏览文档(我还没有使用它)来看,API 本身似乎并没有直接提供您正在寻找的特定信息。但获取该信息的可能方法似乎是:
- 使用 Billing Reports:
The Cloud Billing Reports page lets you view your Google Cloud Platform (GCP) usage costs at a glance and discover and analyze trends. The Reports page displays a chart that plots usage costs for all projects linked to a billing account. To help you view the cost trends that are important to you, you can select a data range, specify a time range, configure the chart filters, and group by project, product, or SKU.
Billing reports can help you answer questions like these:
- How is my current month's GCP spending trending?
To access a detailed breakdown of your charges, you can export your daily usage and cost estimates automatically to a CSV or JSON file stored in a Google Cloud Storage bucket you specify. You can then access the data via the Cloud Storage API, CLI tool, or Google Cloud Platform Console.
Billing export to BigQuery enables you to export your daily usage and cost estimates automatically throughout the day to a BigQuery dataset you specify. You can then access your billing data from BigQuery. You can also use this export method to export data to a JSON file.