【问题标题】:Mysterious metrics in GCP Compute Engine API when the account does not use GCP compute帐户不使用 GCP 计算时 GCP Compute Engine API 中的神秘指标
【发布时间】:2019-12-18 03:00:32
【问题描述】:

我有 GCP 帐户,我仅在本机模式 (Firestore) 和 Firebase 托管/身份验证下使用 Datastore。在这个帐户中,我看到很多与compute 相关的指标从我的仪表板生成,如下所示。我有 0 个 ec2 计算 vm 实例正在运行,并且帐户中没有运行 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   

【问题讨论】:

    标签: firebase google-cloud-platform google-compute-engine


    【解决方案1】:

    是的,这很正常。如果您查看该列表,所有 API 都是 list 或 get 类型。这是 Google Cloud 的管理软件,用于获取您拥有的资源列表。在 Google Cloud 中,出于使用情况和安全原因(谁在访问什么以及何时访问),都会对 API 进行跟踪。

    大多数 Google Cloud 服务都适合或使用来自 Compute 服务系列的资源。这包括网络、防火墙、网关和其他必要的服务。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-06-15
      • 2021-04-20
      • 2021-06-21
      • 2018-11-11
      • 2020-02-18
      • 2021-09-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多