mcvsubbu commented on PR #9800:
URL: https://github.com/apache/pinot/pull/9800#issuecomment-1315994609

   > > We can make this an opt-in periodic task. I added it as a separate task 
to have better control over the frequency of this task.
   > 
   > This is a useful metric to have. Ideally we'd want the gauge metric to be 
updated pretty frequently, like in matter of one minute. I'm not sure running 
the periodic task every minute or so is a good idea! If we choose to emit the 
metric on the server side, then we can change the gauge as soon as the events 
are consumed. It's just up to the metric & monitoring system (outside pinot) to 
aggregate the metric values (e.g. finding max value) for different replicas of 
each partition.
   
   Agreed.
   
   We should be emitting this metric every few minutes so as to detect lags 
quickly and act on it.


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to