From c663723162b43bb7df6625200713f07ae68bec7d Mon Sep 17 00:00:00 2001 From: mphanias Date: Thu, 23 Nov 2023 17:00:10 +0530 Subject: [PATCH] OM86 --- watcher_latency.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher_latency.go b/watcher_latency.go index 76b5aa18..55aa0043 100644 --- a/watcher_latency.go +++ b/watcher_latency.go @@ -75,7 +75,7 @@ func parseSingleLatenciesKey(singleLatencyKey string, rawMetrics map[string]stri var latencyStats map[string]StatsMap if rawMetrics["latencies:"] != "" { - latencyStats = parseLatencyInfo(rawMetrics["latencies:"], int(config.Aerospike.LatencyBucketsCount)) + latencyStats = parseLatencyInfo(rawMetrics[singleLatencyKey], int(config.Aerospike.LatencyBucketsCount)) } else { latencyStats = parseLatencyInfoLegacy(rawMetrics["latency:"], int(config.Aerospike.LatencyBucketsCount)) }