priyen-stripe commented on code in PR #17198:
URL: https://github.com/apache/pinot/pull/17198#discussion_r2519794373
##########
pinot-spi/src/main/java/org/apache/pinot/spi/executor/HardLimitExecutor.java:
##########
@@ -111,11 +123,13 @@ protected Runnable decorate(Runnable task) {
checkTaskAllowed();
return () -> {
checkTaskAllowed();
- _running.getAndIncrement();
+ int currentCount = _running.getAndIncrement();
+ _currentUsageGaugeUpdater.accept(currentCount + 1);
Review Comment:
can you explain more? then what will be doing the metric emitting?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]