当帐户不使用 GCP 计算时,GCP Compute Engine API 中的神秘指标
Mysterious metrics in GCP Compute Engine API when the account does not use GCP compute
我有 GCP 帐户,我只使用本机模式下的数据存储 (Firestore) 和 Firebase Hosting/Auth。在此帐户中,我看到许多 compute
相关指标从我的仪表板生成,如下所示。我的帐户中有 0 个 ec2 计算虚拟机实例 运行 并且没有 Kubernetes 集群 运行。
即使您没有在 compute
中使用任何东西,在 GCP 中生成这些指标是否很常见?如果我不为这些请求付费,我想我可以忽略它们……但我有点担心这些指标会分散查看从我使用的实际 API 生成的有意义指标的注意力。
我在下面添加了一些最常用的调用方法。
compute.v1.InstancesService.List 42,539 0 0.235 seconds 0.519 seconds
compute.v1.ZonesService.List 28,571 0 0.286 seconds 0.521 seconds
compute.v1.ZoneOperationsService.List 21,513 0% 0.233 seconds 0.518 seconds
compute.v1.DisksService.List 21,010 0 0.236 seconds 0.518 seconds
compute.v1.HttpHealthChecksService.List 15,757 0 0.24 seconds 0.52 seconds
compute.v1.RegionForwardingRulesService.List 14,693 0 0.245 seconds 0.52 seconds
compute.v1.RegionBackendServicesService.List 7,350 0 0.244 seconds 0.52 seconds
compute.v1.TargetVpnGatewaysService.List 7,343 0 0.247 seconds 0.521 seconds
compute.v1.VpnTunnelsService.List 7,343 0 0.245 seconds 0.52 seconds
compute.v1.FirewallsService.List 7,052 0 0.272 seconds
compute.v1.RegionDisksService.List 6,887 0 0.243 seconds 0.52 seconds
compute.v1.BackendServicesService.List 708 0 0.148 seconds 0.261 seconds
compute.v1.GlobalForwardingRulesService.List 705 0 0.15 seconds 0.261 seconds
compute.v1.RegionOperationsService.Get 585 0 0.195 seconds 0.396 seconds
compute.beta.BackendServicesService.List 525 0 0.152 seconds
是的,这是正常的。如果查看列表,所有 API 都是 list
或 get
类型。这是Google Cloud 的管理软件获取您拥有的资源列表。在 Google Cloud 中,出于使用情况和安全原因(谁在访问什么以及何时访问)都会跟踪 API。
大多数 Google 云服务适合或使用来自 Compute
服务系列的资源。这包括网络、防火墙、网关和其他必要的服务。
我有 GCP 帐户,我只使用本机模式下的数据存储 (Firestore) 和 Firebase Hosting/Auth。在此帐户中,我看到许多 compute
相关指标从我的仪表板生成,如下所示。我的帐户中有 0 个 ec2 计算虚拟机实例 运行 并且没有 Kubernetes 集群 运行。
即使您没有在 compute
中使用任何东西,在 GCP 中生成这些指标是否很常见?如果我不为这些请求付费,我想我可以忽略它们……但我有点担心这些指标会分散查看从我使用的实际 API 生成的有意义指标的注意力。
我在下面添加了一些最常用的调用方法。
compute.v1.InstancesService.List 42,539 0 0.235 seconds 0.519 seconds
compute.v1.ZonesService.List 28,571 0 0.286 seconds 0.521 seconds
compute.v1.ZoneOperationsService.List 21,513 0% 0.233 seconds 0.518 seconds
compute.v1.DisksService.List 21,010 0 0.236 seconds 0.518 seconds
compute.v1.HttpHealthChecksService.List 15,757 0 0.24 seconds 0.52 seconds
compute.v1.RegionForwardingRulesService.List 14,693 0 0.245 seconds 0.52 seconds
compute.v1.RegionBackendServicesService.List 7,350 0 0.244 seconds 0.52 seconds
compute.v1.TargetVpnGatewaysService.List 7,343 0 0.247 seconds 0.521 seconds
compute.v1.VpnTunnelsService.List 7,343 0 0.245 seconds 0.52 seconds
compute.v1.FirewallsService.List 7,052 0 0.272 seconds
compute.v1.RegionDisksService.List 6,887 0 0.243 seconds 0.52 seconds
compute.v1.BackendServicesService.List 708 0 0.148 seconds 0.261 seconds
compute.v1.GlobalForwardingRulesService.List 705 0 0.15 seconds 0.261 seconds
compute.v1.RegionOperationsService.Get 585 0 0.195 seconds 0.396 seconds
compute.beta.BackendServicesService.List 525 0 0.152 seconds
是的,这是正常的。如果查看列表,所有 API 都是 list
或 get
类型。这是Google Cloud 的管理软件获取您拥有的资源列表。在 Google Cloud 中,出于使用情况和安全原因(谁在访问什么以及何时访问)都会跟踪 API。
大多数 Google 云服务适合或使用来自 Compute
服务系列的资源。这包括网络、防火墙、网关和其他必要的服务。