Kurt Deschler has posted comments on this change. ( http://gerrit.cloudera.org:8080/20377 )
Change subject: IMPALA-12385: Enable Periodic metrics by default ...................................................................... Patch Set 5: (5 comments) http://gerrit.cloudera.org:8080/#/c/20377/5//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/20377/5//COMMIT_MSG@15 PS5, Line 15: -Added new flag periodic_system_counter_update_period_ms and additional : update thread to preserve 500ms update interval for KRPC metrics > Mention the new separate system_instance_ singleton in commit message. Done http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/periodic-counter-updater.h File be/src/util/periodic-counter-updater.h: http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/periodic-counter-updater.h@158 PS5, Line 158: /// Singleton object that keeps track of all profile rate counters and the thread : /// for updating them. > nit: mention the flag or the default sampling period for this singleton. Done http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/periodic-counter-updater.h@162 PS5, Line 162: /// Singleton object that keeps track of all system rate counters and the thread : /// for updating them. > nit: mention the flag or the default sampling period for this singleton. Done http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/periodic-counter-updater.cc File be/src/util/periodic-counter-updater.cc: http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/periodic-counter-updater.cc@47 PS5, Line 47: the singleton > nit: two singleton Done http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/runtime-profile.h File be/src/util/runtime-profile.h: http://gerrit.cloudera.org:8080/#/c/20377/5/be/src/util/runtime-profile.h@156 PS5, Line 156: bool is_system_; > Looks like is_system_ is always false for RuntimeProfile::Counter. Is it OK I actually missed some counters that were instantiated through macros. So KRPC does have time series counters that need this logic. -- To view, visit http://gerrit.cloudera.org:8080/20377 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic8e5cbfd4b324081158574ceb8f4b3a062a69fd1 Gerrit-Change-Number: 20377 Gerrit-PatchSet: 5 Gerrit-Owner: Kurt Deschler <[email protected]> Gerrit-Reviewer: David Rorke <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Kurt Deschler <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Surya Hebbar <[email protected]> Gerrit-Comment-Date: Thu, 31 Aug 2023 17:10:23 +0000 Gerrit-HasComments: Yes
