Apache Airflow version
2.5.1
What happened
I'd expect the scheduler.tasks.running metric to represent the number of running tasks, but it is always zero. It appears that #10956 broke this when it removed the line that increments num_tasks_in_executor. Right now that variable is set to 0, never incremented, and the emitted as a gauge.
What you think should happen instead
scheduler.tasks.running should either represent the number of tasks running or be removed altogether.
How to reproduce
No response
Operating System
Ubuntu 18.04
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
2.5.1
What happened
I'd expect the
scheduler.tasks.runningmetric to represent the number of running tasks, but it is always zero. It appears that #10956 broke this when it removed the line that incrementsnum_tasks_in_executor. Right now that variable is set to 0, never incremented, and the emitted as a gauge.What you think should happen instead
scheduler.tasks.runningshould either represent the number of tasks running or be removed altogether.How to reproduce
No response
Operating System
Ubuntu 18.04
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct