umustafi commented on code in PR #3851:
URL: https://github.com/apache/gobblin/pull/3851#discussion_r1435248873
##########
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/DagActionStoreChangeMonitor.java:
##########
@@ -136,6 +142,23 @@ protected void initializeMonitor() {
}
}
+ /*
+ Override this method to do the same sequence as the parent class, except
create metrics. Instead, we create metrics
+ earlier upon class initialization because they are used immediately as dag
actions are loaded and processed from
+ the DagActionStore.
+ */
+ @Override
+ protected void startUp() {
Review Comment:
A lot of existing tests need to be refactored if I do this and may end up
having some unintended consequences bc HighLevelConsumer is used in many
places. I'd rather not invest the time updating tests and debugging changes.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]