[
https://issues.apache.org/jira/browse/GOBBLIN-1051?focusedWorklogId=389030&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-389030
]
ASF GitHub Bot logged work on GOBBLIN-1051:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 18/Feb/20 19:45
Start Date: 18/Feb/20 19:45
Worklog Time Spent: 10m
Work Description: sv2000 commented on pull request #2891: [GOBBLIN-1051]
Emit Helix Leader Metrics
URL: https://github.com/apache/incubator-gobblin/pull/2891#discussion_r380895014
##########
File path:
gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GobblinServiceManager.java
##########
@@ -645,4 +678,21 @@ private static void
testGobblinService(GobblinServiceManager gobblinServiceManag
throw new RuntimeException(e);
}
}
+
+ @Setter
+ private static class HelixLeaderState {
+ private LeaderState state = LeaderState.UNKNOWN;
+ }
+
+ private enum LeaderState {
+ UNKNOWN(-1),
+ SLAVE(0),
+ MASTER(1);
+
+ public int value;
Review comment:
Annotate with @Getter?
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 389030)
Time Spent: 1h 20m (was: 1h 10m)
> Emit helix leader metrics to ingraph
> -------------------------------------
>
> Key: GOBBLIN-1051
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1051
> Project: Apache Gobblin
> Issue Type: Task
> Reporter: Wei-Hsiang Lin
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)