Yaro1 commented on issue #26601:
URL: https://github.com/apache/airflow/issues/26601#issuecomment-1474869855
Well, in my opinion we have two ways:
1. try to sum up that metric for every scheduler
2. send metric with some id of scheduler and then users can sum it by
themself
I think the second way is better.
Also it's strange, but I found a duplicate of executor.running_tasks -
scheduler.tasks.running.
But it seems like we have to delete it because it's always zero:
```
num_tasks_in_executor = 0
Stats.gauge("scheduler.tasks.running", num_tasks_in_executor)
```
It doesn't change and we have only two using of the variable
num_tasks_in_executor.
What do you think?
--
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]