[
https://issues.apache.org/jira/browse/GOBBLIN-1423?focusedWorklogId=583572&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-583572
]
ASF GitHub Bot logged work on GOBBLIN-1423:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 15/Apr/21 16:39
Start Date: 15/Apr/21 16:39
Worklog Time Spent: 10m
Work Description: sv2000 commented on a change in pull request #3259:
URL: https://github.com/apache/gobblin/pull/3259#discussion_r614224509
##########
File path:
gobblin-metrics-libs/gobblin-metrics-base/src/main/java/org/apache/gobblin/metrics/reporter/EventReporter.java
##########
@@ -189,13 +212,20 @@ public void run() {
protected MetricFilter filter;
protected TimeUnit rateUnit;
protected TimeUnit durationUnit;
+ protected Config config;
protected Builder(MetricContext context) {
this.context = context;
this.name = "MetricReportReporter";
this.rateUnit = TimeUnit.SECONDS;
this.durationUnit = TimeUnit.MILLISECONDS;
this.filter = MetricFilter.ALL;
+ this.config = ConfigFactory.empty();
+ }
+
+ public T withConfig(Config config) {
Review comment:
Should we be more explicit and have methods withQueueCapacity(int) and
withReportingInterval(int)?
--
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: 583572)
Time Spent: 20m (was: 10m)
> Make reporting queue capacity and timeout configurable in EventReporter
> -----------------------------------------------------------------------
>
> Key: GOBBLIN-1423
> URL: https://issues.apache.org/jira/browse/GOBBLIN-1423
> Project: Apache Gobblin
> Issue Type: Improvement
> Reporter: Vikram Bohra
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)