sajjad-moradi commented on PR #9800: URL: https://github.com/apache/pinot/pull/9800#issuecomment-1315990338
> 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 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. -- 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