[ 
https://issues.apache.org/jira/browse/GOBBLIN-2079?focusedWorklogId=927844&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-927844
 ]

ASF GitHub Bot logged work on GOBBLIN-2079:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/24 21:18
            Start Date: 29/Jul/24 21:18
    Worklog Time Spent: 10m 
      Work Description: Will-Lo commented on code in PR #3962:
URL: https://github.com/apache/gobblin/pull/3962#discussion_r1695975922


##########
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/GaaSJobObservabilityEventProducer.java:
##########
@@ -81,12 +85,14 @@ public abstract class GaaSJobObservabilityEventProducer 
implements Closeable {
   protected ObservableLongMeasurement jobStatusMetric;
   protected MultiContextIssueRepository issueRepository;
   protected boolean instrumentationEnabled;
+  protected boolean emitFlowObservabilityEvent;
   ContextAwareMeter getIssuesFailedMeter;
 
   public GaaSJobObservabilityEventProducer(State state, 
MultiContextIssueRepository issueRepository, boolean instrumentationEnabled) {
     this.state = state;
     this.issueRepository = issueRepository;
     this.instrumentationEnabled = instrumentationEnabled;
+    this.emitFlowObservabilityEvent = 
this.state.getPropAsBoolean(EMIT_FLOW_OBSERVABILITY_EVENT, false);

Review Comment:
   Yes its for backwards compatibility since every job status producer would 
need to implement the support for emitting flow level events





Issue Time Tracking
-------------------

    Worklog Id:     (was: 927844)
    Time Spent: 2h 10m  (was: 2h)

> GaaSObservabilityEvents should have a dedicated flow level event
> ----------------------------------------------------------------
>
>                 Key: GOBBLIN-2079
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2079
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: William Lo
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> GaaSJobObservabilityEvents currently encapsulate both jobs and flows in GaaS.
> This is fine for single hop flows, but flows with multiple jobs encapsulated 
> in them now have a mix of job level events with the majority of metadata, and 
> flow level events which provide a better view to users when their flow fails 
> at any given point.
> Since the data in both events differs vastly with most metadata only having 
> contextual sense in the job level event, we should separate job and flow 
> level events to their own respective event types.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to