killzoner commented on code in PR #1698:
URL: 
https://github.com/apache/datafusion-ballista/pull/1698#discussion_r3258032866


##########
ballista/scheduler/src/scheduler_server/query_stage_scheduler.rs:
##########
@@ -88,6 +88,10 @@ impl<T: 'static + AsLogicalPlan, U: 'static + 
AsExecutionPlan>
             time_recorder = Some((Instant::now(), event.clone()));
         };
         let event_sender = EventSender::new(tx_event.clone());
+        self.metrics_collector.set_pending_tasks_queue_size(
+            self.state.task_manager.pending_task_number().await as u64,

Review Comment:
   I ended up with 
https://github.com/apache/datafusion-ballista/pull/1698/changes/d46c134215b75c224624bc8eb2ef528423636b7f



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to