GKE 使用计量模板只请求一个数据源,尽管文档说需要三个数据源

GKE usage metering template requests only one data source although the documents says three data sources are required

我正在尝试按照官方文档使用 Data Studio 仪表板可视化 GKE 使用计量数据。

https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-usage-metering#view_in_data-studio

它说

We created a dashboard you can copy into your project. When you copy the dashboard, you are prompted to select three data sources you just created.

我猜这三个数据源是指根据成本明细创建的数据源 table、gke_cluster_resource_consumption 和 gke_cluster_resource_usage。

但是,从数据工作室模板创建副本时,我只能选择一个数据源。

我是不是漏掉了什么?

我认为 Google 文档已过时。

但是,如果您按照文档进行操作,在克隆仪表板时,它只会要求您创建一个数据源(=成本细目 table)。当你 select 这个来源时会发生什么?也许错误只在“三”字上。

你提到的另外两个DataSources在文档的其他部分被引用了,所以我猜它们是用于其他目的。 Google 的仪表板有其他链接的数据源,但没有使用。

因此,显然,您只需要一个数据源即可使此仪表板正常工作。

如果这不起作用,我会说你运气不好。尝试在一些社区论坛中询问 Google 以修复他们的文档。