phet commented on code in PR #3983:
URL: https://github.com/apache/gobblin/pull/3983#discussion_r1676201375


##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/proc/DagProc.java:
##########
@@ -63,13 +64,16 @@ public DagProc(DagTask dagTask) {
     this.dagNodeId = this.dagTask.getDagAction().getDagNodeId();
   }
 
-  public final void process(DagManagementStateStore dagManagementStateStore) 
throws IOException {
-    T state = initialize(dagManagementStateStore);   // todo - retry
-    act(dagManagementStateStore, state);   // todo - retry
+  public final void process(DagManagementStateStore dagManagementStateStore,
+      DagProcessingEngineMetrics dagProcEngineMetrics) throws IOException {
+    T state = initialize(dagManagementStateStore, dagProcEngineMetrics);   // 
todo - retry
+    act(dagManagementStateStore, state, dagProcEngineMetrics);   // todo - 
retry

Review Comment:
   WRT implementing in the base class - these look like the two calls to wrap 
for incrementing metrics for `{Initialize,Act}{Succeeded,Failed}`



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

Reply via email to