From 0ac37a4a0c023bf489a762eff670aed39e2aa1a7 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Mon, 22 Jan 2024 19:18:55 +0800 Subject: [PATCH] fix: Use longTime bucket for longer latency (#30175) See also: #30174 Signed-off-by: yangxuan --- pkg/metrics/proxy_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metrics/proxy_metrics.go b/pkg/metrics/proxy_metrics.go index e2349adff9..63f3393a3c 100644 --- a/pkg/metrics/proxy_metrics.go +++ b/pkg/metrics/proxy_metrics.go @@ -144,7 +144,7 @@ var ( Subsystem: typeutil.ProxyRole, Name: "mutation_send_latency", Help: "latency that proxy send insert request to MsgStream", - Buckets: buckets, // unit: ms + Buckets: longTaskBuckets, // unit: ms }, []string{nodeIDLabelName, msgTypeLabelName}) // ProxyAssignSegmentIDLatency record the latency that Proxy get segmentID from dataCoord.