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

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

                Author: ASF GitHub Bot
            Created on: 13/May/24 22:46
            Start Date: 13/May/24 22:46
    Worklog Time Spent: 10m 
      Work Description: phet commented on code in PR #3912:
URL: https://github.com/apache/gobblin/pull/3912#discussion_r1599166597


##########
gobblin-temporal/src/main/java/org/apache/gobblin/temporal/ddm/work/DatasetStats.java:
##########
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.gobblin.temporal.ddm.work;
+
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.NonNull;
+import lombok.RequiredArgsConstructor;
+
+@Data
+@NonNull
+@RequiredArgsConstructor
+@NoArgsConstructor
+public class DatasetStats {

Review Comment:
   nit: needs javadoc (even brief)





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

    Worklog Id:     (was: 919210)
    Time Spent: 40m  (was: 0.5h)

> Add Dataset level metrics in Temporal
> -------------------------------------
>
>                 Key: GOBBLIN-2066
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-2066
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: William Lo
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Temporal workflows can have added observability metrics so that workflows can 
> be easily understood at-a-glance which is an improvement over the current 
> Gobblin system.
> We want to provide the following:
> 1. Emit dataset-level metrics on job metadata as a GobblinTrackingEvent (to 
> reach feature parity with existing Gobblin)
> 2. Enhance return types on Temporal so that users and service operators can 
> easily view metadata on jobs being run, so that it becomes obvious when a job 
> actually commits work and to which datasets without checking the logs.



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

Reply via email to