GCP提供了一种将计费数据导出到BigQuery的机制。这确实很有帮助,但它所缺少的是在实例级别提供成本行项(或者至少我无法找到一种方法)。我们可以在SKU、Project、Service级别获得成本聚合,但需要更多的粒度。这在Azure和AWS中是非常可能的。
下面是我在导出的BigQuery计费表中看到的列;
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的两个计算引擎。是否有一种机制可以分别获取每个计算引擎的总成本?
发布于 2020-07-27 08:44:56
https://stackoverflow.com/questions/63109180
复制相似问题