[
https://issues.apache.org/jira/browse/BEAM-6431?focusedWorklogId=194710&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-194710
]
ASF GitHub Bot logged work on BEAM-6431:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Feb/19 17:55
Start Date: 05/Feb/19 17:55
Worklog Time Spent: 10m
Work Description: ajamato commented on pull request #7676: DO NOT SUBMIT
[BEAM-6431] Implement Execution Time metrics start,process,finish in the Java
SDK
URL: https://github.com/apache/beam/pull/7676#discussion_r253976922
##########
File path:
runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/SimpleExecutionState.java
##########
@@ -0,0 +1,59 @@
+/*
+ * 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.beam.runners.core.metrics;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.Map;
+import
org.apache.beam.runners.core.metrics.ExecutionStateTracker.ExecutionState;
+
+/**
+ * Simple state class which collects the totalMillis spent in the state.
Allows attaching an
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 194710)
Time Spent: 2h 40m (was: 2.5h)
> Add ExecutionTime metrics to the Beam Java SDK
> ----------------------------------------------
>
> Key: BEAM-6431
> URL: https://issues.apache.org/jira/browse/BEAM-6431
> Project: Beam
> Issue Type: New Feature
> Components: java-fn-execution
> Reporter: Alex Amato
> Assignee: Alex Amato
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> This will be done by using the Dataflow worker's StateSampler code. I haveĀ
> put together a refactoring plan
> [here|https://docs.google.com/document/d/1OlAJf4T_CTL9WRH8lP8uQOfLjWYfm8IpRXSe38g34k4/edit#]
> This will include estimating the processing time for the start, process and
> finish bundle. The python SDK already has an implementation of this.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)