ZihanLi58 commented on a change in pull request #3416:
URL: https://github.com/apache/gobblin/pull/3416#discussion_r732070431
##########
File path:
gobblin-metrics-libs/gobblin-metrics-base/src/main/java/org/apache/gobblin/metrics/reporter/EventReporter.java
##########
@@ -144,9 +145,11 @@ public void notificationCallback(Notification
notification) {
*/
public void addEventToReportingQueue(GobblinTrackingEvent event) {
if (this.reportingQueue.size() > this.queueCapacity * 2 / 3) {
+ log.info("Trigger immediate run to report the event since queue is
almost full");
immediatelyScheduleReport();
}
try {
+ log.debug("Offering one event to the metrics queue");
Review comment:
That's fair, let me add event name in the log info as well
--
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]