英文:
What does Google Pub/Sub's topic/send_request_latencies metric measure
问题
我无法找到除了非常基本的https://cloud.google.com/monitoring/api/metrics_gcp#pubsub/topic/send_request_latencies之外的文档,解释这个指标测量的内容。
我假设尽管它的名称是"发送请求延迟",但它不是由发布者应用程序感知的延迟,因为这必须由发布者应用程序本身进行测量。另外,该指标是针对每个主题的,而我期望发布操作在发布者应用程序上执行时不会受到目标主题的不同延迟的影响。
您能提供任何见解吗?
英文:
I cannot find documentation besides the very basic https://cloud.google.com/monitoring/api/metrics_gcp#pubsub/topic/send_request_latencies on what the metric measures.
I assume that despite its name it is not the latency perceived by the publisher app as that would have to be measured at/by the publisher app itself. Additionally the metric is per topic, while I would expect the publish operation as executed on the publisher app to not be subject to differing latency depending on target topic.
Could you offer any insight?
答案1
得分: 1
topic/send_request_latencies
指标测量了在服务内部处理给定主题的发布请求所花费的时间。要获得完整的延迟情况,您需要记录一些自定义指标,以跟踪从客户端调用发布到接收响应的时间。
英文:
The topic/send_request_latencies
metric measures the time spent processing a publish request in the service itself for a given topic. To get a full picture of latency, you would have to record some custom metrics to track from the time the client calls publish to the time it receives a response.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论