[
https://issues.apache.org/jira/browse/GOBBLIN-1560?focusedWorklogId=663080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-663080
]
ASF GitHub Bot logged work on GOBBLIN-1560:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 09/Oct/21 00:37
Start Date: 09/Oct/21 00:37
Worklog Time Spent: 10m
Work Description: arjun4084346 commented on a change in pull request
#3411:
URL: https://github.com/apache/gobblin/pull/3411#discussion_r725403803
##########
File path:
gobblin-service/src/main/java/org/apache/gobblin/service/monitoring/KafkaJobStatusMonitor.java
##########
@@ -346,3 +372,18 @@ public static long getExecutionIdFromTableName(String
tableName) {
protected abstract org.apache.gobblin.configuration.State
parseJobStatus(GobblinTrackingEvent event);
}
+
+@Slf4j
+class RunnableWithMetricContext implements Runnable {
+ private MetricContext _metricContext;
+ private String gaugeToRemove;
+
+ public RunnableWithMetricContext(MetricContext providedContext, String
gaugeName) {
+ this._metricContext = providedContext;
+ this.gaugeToRemove = gaugeName;
+ }
+
+ public void run() {
+ this._metricContext.remove(this.gaugeToRemove);
Review comment:
Removing a gauge is certainly not a work of JobStatusMonitor.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 663080)
Time Spent: 1h 10m (was: 1h)
> Fix WorkUnit Count Reporting to InGraphs
> -----------------------------------------
>
> Key: GOBBLIN-1560
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1560
> Project: Apache Gobblin
> Issue Type: Improvement
> Components: gobblin-service
> Reporter: Urmi Mustafi
> Assignee: Abhishek Tiwari
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> At the moment, once a gauge for work unit count is set. The value will be
> continually emitted to inGraphs until the value is changed, making it
> confusing for users viewing inGraphs such as
> [https://ingraphs.prod.linkedin.com/range/%25%25%25prod-lva1.product.disre-service-deployable2/graph/SharedGobblinServiceLva1/GobblinService.ktwo.k2-war-snap-sas-ad_page_sets-with-ret-1.WorkUnitsCreated.rrd?fabrics=prod-lva1]
> to tell what the most recently set value is. Instead we will unregister this
> gauge after an interval we expect the value to be emitted to inGraphs so the
> graph will appear as a set of data points.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)