jihoonson edited a comment on pull request #10407:
URL: https://github.com/apache/druid/pull/10407#issuecomment-713013146


   > @jihoonson are you actively working on your proposal ? do you think you 
can reuse the `InputStats` strategy from here ?
   
   @pjain1 sorry, I forgot about this PR. I could reuse it, but I'm still not 
sure why they are in a separate class vs having all those metrics in one place. 
Are you thinking a case where you want to selectively disable the new metric? 
If so, when would you want to do it? Even in that case, I would rather think 
about another way to selectively enable/disable metrics instead of having each 
metric in different classes.
   
   In the current implementation, what doesn't make sense to me is sharing the 
same metrics between batch and realtime tasks because what we want to see for 
them will be pretty different even though some of them can be shared. So, IMO, 
probably it will probably be best to add new classes each of which have all 
metrics for batch and realtime tasks, respectively.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to