[
https://issues.apache.org/jira/browse/GOBBLIN-1452?focusedWorklogId=602695&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-602695
]
ASF GitHub Bot logged work on GOBBLIN-1452:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 27/May/21 01:32
Start Date: 27/May/21 01:32
Worklog Time Spent: 10m
Work Description: jack-moseley commented on a change in pull request
#3290:
URL: https://github.com/apache/gobblin/pull/3290#discussion_r640227512
##########
File path:
gobblin-service/src/main/java/org/apache/gobblin/service/modules/orchestration/DagManager.java
##########
@@ -460,6 +463,10 @@ public synchronized void setActive(boolean active) {
this.jobStatusPolledTimer =
Optional.of(this.metricContext.timer(ServiceMetricNames.JOB_STATUS_POLLED_TIMER));
ContextAwareGauge<Long> orchestrationDelayMetric =
metricContext.newContextAwareGauge(ServiceMetricNames.FLOW_ORCHESTRATION_DELAY,
() -> orchestrationDelay.get());
+ this.allSuccessfulMeter = metricContext.contextAwareMeter(
+ MetricRegistry.name(ServiceMetricNames.GOBBLIN_SERVICE_PREFIX,
ServiceMetricNames.SUCCESSFUL_FLOW_METER));
+ this.allFailedMeter = metricContext.contextAwareMeter(
Review comment:
The meters would drop to 0, then return to normal after the length of
the window time (a few minutes). It will be a slight blip in the graph, but I
think it would not be enough to impact alerts as long as we do alerts on the
right things (either looking for spikes in failures, or looking at ratio of
success vs failure over a sufficiently large window).
--
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: 602695)
Time Spent: 1h 20m (was: 1h 10m)
> Add meters for successful/failed dags in total and by flowGroup
> ---------------------------------------------------------------
>
> Key: GOBBLIN-1452
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1452
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Jack Moseley
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)