Google Pub/Sub的”topic/send_request_latencies”指标衡量了什么?

huangapple go评论44阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月29日 04:50:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/76576622.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定