Skip to content

Commit

Permalink
fix: wrong range scan pending metrics counter (#200)
Browse files Browse the repository at this point in the history
fix wrong metrics counter
  • Loading branch information
mattisonchao authored Jan 16, 2025
1 parent 8f317e8 commit 7087880
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7087880

Please sign in to comment.