shounakmk219 commented on code in PR #15118:
URL: https://github.com/apache/pinot/pull/15118#discussion_r1977438420
##########
pinot-spi/src/main/java/org/apache/pinot/spi/tasks/MinionTaskBaseObserverStats.java:
##########
@@ -34,8 +38,11 @@
*/
public class MinionTaskBaseObserverStats {
protected String _taskId;
+ protected String _currentStage;
protected String _currentState;
protected long _startTimestamp;
+ protected long _endTimestamp;
+ protected Map<String, Timer> _stageTimes = new HashMap<>();
Review Comment:
stage times is very generic in the sense that any task execution can be
broken down into multiple parts in order to track granular info on how long
each part of the execution takes.
Will add more docs
--
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]