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

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

                Author: ASF GitHub Bot
            Created on: 18/Jan/23 22:32
            Start Date: 18/Jan/23 22:32
    Worklog Time Spent: 10m 
      Work Description: ZihanLi58 commented on code in PR #3623:
URL: https://github.com/apache/gobblin/pull/3623#discussion_r1080626419


##########
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/KafkaJobStatusMonitor.java:
##########
@@ -288,6 +303,15 @@ private static void 
modifyStateIfRetryRequired(org.apache.gobblin.configuration.
     
state.removeProp(TimingEvent.FlowEventConstants.DOES_CANCELED_FLOW_MERIT_RETRY);
   }
 
+  private static boolean 
isStateTransitionToFinal(org.apache.gobblin.configuration.State currentState, 
List<org.apache.gobblin.configuration.State> prevStates) {
+    Set<String> finalStates = ImmutableSet.of(ExecutionStatus.COMPLETE.name(), 
ExecutionStatus.CANCELLED.name(), ExecutionStatus.FAILED.name());

Review Comment:
   I think we have FlowStatusGenerator.FINISHED_STATUSES which is essentially 
the same list, maybe reuse that one?





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

    Worklog Id:     (was: 840109)
    Time Spent: 4h 40m  (was: 4.5h)

> Emit GaaSObservabilityEvent
> ---------------------------
>
>                 Key: GOBBLIN-1764
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1764
>             Project: Apache Gobblin
>          Issue Type: New Feature
>          Components: gobblin-service
>            Reporter: William Lo
>            Assignee: Abhishek Tiwari
>            Priority: Major
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> GaaSObservabilityEvents are a new events that provides a job summary from 
> pipelines in GaaS. It differs from GobblinTrackingEvents as it runs once per 
> job pipeline, and it intended to be easily queryable and alert on.
> We want to emit this observability event from GaaS by deriving it from a 
> job's job status. Since this feature is Experimental and WIP, it is not 
> expected to fill out all of the fields immediately.



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

Reply via email to