简体   繁体   English

用于监控谷歌云发布/订阅的 Stackdriver 延迟

[英]Stackdriver latency for monitoring google cloud pub/sub

Documented from https://cloud.google.com/monitoring/api/v3/metrics#time-series记录自https://cloud.google.com/monitoring/api/v3/metrics#time-series

Metric data is collected on schedules that vary across monitored resources.指标数据是根据不同受监视资源的时间表收集的。 Some data is regularly "pulled" by Stackdriver Monitoring from the monitored resources, and some data is "pushed" by applications, services, or the Stackdriver Monitoring agent. Stackdriver Monitoring 定期从受监控资源中“拉取”一些数据,而一些数据则由应用程序、服务或 Stackdriver Monitoring 代理“推送”。

I'd like to know how stackdriver collects data from Google Cloud Pub/Sub, what is the promised latency bound?我想知道 stackdriver 如何从 Google Cloud Pub/Sub 收集数据,承诺的延迟限制是多少? I've tried creating a topic/subscription and publishing messages and watch how long until the metrics logged in stackdriver.我尝试创建主题/订阅并发布消息,并观察指标在 stackdriver 中记录多长时间。 On average it's about 1-2 minutes, but sometimes very slow, up to 5-8 minutes.平均大约 1-2 分钟,但有时非常慢,最多 5-8 分钟。

We don't currently document what the expectations are for this, in part because there's not a single answer and it depends on different factors. 我们目前没有记录对此的期望是什么,部分原因是没有一个答案,而且取决于不同的因素。 But we are aware that this is important to have, and are working on a clear way to communicate it. 但我们知道这很重要,并且正在以明确的方式进行沟通。 Stay tuned. 敬请关注。

I'm also facing high latencies in PubSub monitoring with KEDA.我在使用 KEDA 进行 PubSub 监控时也面临着高延迟。 It takes 2+ minutes for KEDA to start scaling UP the pods based on the Pub/Sub undelivered messages count provided by GCP's monitoring. KEDA 需要 2 分钟以上的时间才能根据 GCP 监控提供的 Pub/Sub 未传送消息计数开始向上扩展 pod。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Cloud Pub/Sub 按 ID 检索消息 - Google Cloud Pub/Sub retrieve message by ID Google Cloud Pub/Sub 和多个接收器 - Google Cloud Pub/Sub and multiple receivers 如何对 Google Cloud Pub/Sub 队列进行速率限制 - How To Rate-Limit Google Cloud Pub/Sub Queue 有没有办法让 Google Cloud Pub/Sub Schema 字段成为可选字段? - Is there a way to make Google Cloud Pub/Sub Schema fields optional? 直接或通过 pub 子队列访问 Google Cloud SQL? - Access Google Cloud SQL directly or via pub sub queues? Google Cloud Pub/Sub 具有订购密钥和同一订阅上的多个消费者 - Google Cloud Pub/Sub with ordering keys & multiple consumers on same subscription 订阅 Google 云发布/订阅的 kubernetes pod 的多个副本 - Multiple replicas of a kubernetes pods subscribing to a Google cloud pub/sub 为 android 订阅通知创建谷歌云发布/订阅 - create google cloud pub/sub for android subscriptions notifications 在 python 中了解 Open Telemetry Integration to google cloud pub sub - Understanding Open Telemetry Integration to google cloud pub sub in python 在 pub sub 上发布消息时调用 google cloud http function - Invoke google cloud http function when message publish on a pub sub
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM