【发布时间】:2020-07-27 05:30:21
【问题描述】:
GCP 提供了一种将结算数据导出到 BigQuery 的机制。这确实很有帮助,但它缺少的是在实例级别提供成本行项目(或者至少我想不出办法)。我们可以在 SKU、项目、服务级别上获取成本汇总,但需要更多粒度。这在 Azure 和 AWS 中非常有可能。
以下是我在导出的 BigQuery Billing 表中看到的列;
billing_account_id, invoice.month, cost_type, service.id, service.description, sku.id, sku.description, usage_start_time, usage_end_time, project.id, project.name, project.ancestry_numbers, project.labels.key, project.labels.value, labels.key, labels.value, system_labels.key, system_labels.value, location.location, location.country, location.region, location.zone, cost, currency, currency_conversion_rate, , usage.amount, usage.unit, usage.amount_in_pricing_units, usage.pricing_unit, credits.name, credits.amount, export_time
是否有在实例级别获取成本聚合的解决方法?
示例:如果我订阅了特定 SKU 的 2 个计算引擎。是否有一种机制可以分别获取每个 Compute Engine 的成本汇总?
【问题讨论】:
标签: google-cloud-platform google-bigquery billing