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

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

                Author: ASF GitHub Bot
            Created on: 15/May/19 02:49
            Start Date: 15/May/19 02:49
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2635: [GOBBLIN-771] 
add  a few metrics for gobblin service
URL: https://github.com/apache/incubator-gobblin/pull/2635#discussion_r284069830
 
 

 ##########
 File path: 
gobblin-restli/gobblin-flow-config-service/gobblin-flow-config-service-server/src/main/java/org/apache/gobblin/service/FlowConfigResourceLocalHandler.java
 ##########
 @@ -108,6 +127,10 @@ public FlowConfig getFlowConfig(FlowId flowId) throws 
FlowConfigLoggedException
    */
   public CreateResponse createFlowConfig(FlowConfig flowConfig, boolean 
triggerListener) throws FlowConfigLoggedException {
     log.info("[GAAS-REST] Create called with flowGroup " + 
flowConfig.getId().getFlowGroup() + " flowName " + 
flowConfig.getId().getFlowName());
+    this.createFlow.mark();
+    if (flowConfig.hasSchedule() && 
flowConfig.getSchedule().hasRunImmediately() && 
flowConfig.getSchedule().isRunImmediately()) {
+      this.runImmediatelyFlow.mark();
 
 Review comment:
   Should there be a separate metric for run-once jobs?
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 242205)
    Time Spent: 20m  (was: 10m)

> emit a few metrics for gobblin service
> --------------------------------------
>
>                 Key: GOBBLIN-771
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-771
>             Project: Apache Gobblin
>          Issue Type: Task
>            Reporter: Arjun Singh Bora
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to