chaoyli commented on issue #3517: URL: https://github.com/apache/incubator-doris/issues/3517#issuecomment-626088176
> This is a good job. > However I think something maybe discussed clearly before writing code. > > 1. Who will update this metrics? > 2. How will updater get the table id? > 3. How will the final metric be summary? 1. Scanner Thread will update the metrics, it is the same as the metric like the query profile. 2. Nowadays, tablet meta has save the table id in the metadata, so new table will know the table_id. 3. If metric has been collected by agent, you can store to another database, or can be summed by a central node. There are ok both. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org