From c98b3ec839dd4d98c86d8b0b7bec47dbc083018f Mon Sep 17 00:00:00 2001 From: Qiang Zhao Date: Thu, 16 Jan 2025 00:28:53 +0800 Subject: [PATCH] fix wrong metrics counter --- .../java/io/streamnative/oxia/client/AsyncOxiaClientImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main/java/io/streamnative/oxia/client/AsyncOxiaClientImpl.java b/client/src/main/java/io/streamnative/oxia/client/AsyncOxiaClientImpl.java index ccce47a4..83aa796d 100644 --- a/client/src/main/java/io/streamnative/oxia/client/AsyncOxiaClientImpl.java +++ b/client/src/main/java/io/streamnative/oxia/client/AsyncOxiaClientImpl.java @@ -682,7 +682,7 @@ public void onNext(long shardId, GetResult result) { @Override public void onError(Throwable throwable) { - gaugePendingListRequests.decrement(); + gaugePendingRangeScanRequests.decrement(); histogramRangeScanLatency.recordFailure(System.nanoTime() - startTime); consumer.onError(throwable); }