umustafi commented on code in PR #4007:
URL: https://github.com/apache/gobblin/pull/4007#discussion_r1687042558
##########
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/task/DagProcessingEngineMetrics.java:
##########
@@ -75,6 +75,7 @@ public DagProcessingEngineMetrics() {
List<Tag<?>> tags = new ArrayList<>();
tags.add(new Tag<>(MetricTagNames.METRIC_BACKEND_REPRESENTATION,
GobblinMetrics.MetricType.COUNTER));
this.metricContext = Instrumented.getMetricContext(new State(),
this.getClass(), tags);
+ registerAllMetrics();
Review Comment:
I tried doing but cannot reference other constructor if not done in first
line of method and cannot use `this.` field within the call to constructor
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]