GCP pus/sub。如何在一段时间内请求通过订阅获得的数据量?

GCP pus/sub. How can I request volume of data coming through subscription in a period of time?

我需要了解我在 GCP 中订阅的数据量 pub/sub。我如何请求此数据?

Cloud Pub/Sub 通过 Stackdriver 显示有关主题和订阅性能的各种指标。参见 https://cloud.google.com/pubsub/docs/monitoring. In particular, these are the Cloud Pub/Sub metrics: https://cloud.google.com/monitoring/api/metrics_gcp#gcp-pubsub。对于通过您的订阅获得的数据量,相关指标为 subscription/byte_cost