-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Add heartbeat metric for DAG processor #42398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add heartbeat metric for DAG processor #42398
Conversation
Signed-off-by: kalyanr <kalyan.ben10@live.com>
--------- Signed-off-by: kalyanr <kalyan.ben10@live.com>
--------- Signed-off-by: kalyanr <kalyan.ben10@live.com>
@ephraimbuddy , @jedcunningham , can this be backported? |
No. This is a feature. 2.10.x would only get bug fixes |
|
@ephraimbuddy well, to me, this missing metric for a central component, visible in airflow GUI dashboard, but not in statsd / prometheus metrics, is a bugfix and not a feature ... |
Nobody asked for it (including yourself, so this is no wonder). And at this point this is a question of really who should keep the burden of backporting - since you need it and it does not seem to be a huge problem for others, a viable path is that you patch your version (and migrate to Airflow 3 when it's ready). |
|
You have to remember - this is an open-source project that you have full visibilty into the sources and if the maintainers choose not to backport something, doing that yourself is a perfectly possible thing to do . |
@potiuk Yes, I understand what you mean, am involved in other open source projects as well. That way, I can place the burden on me ;-) Apache Airflow rocks, thank you and all the other maintainers, whether from the community or Astronomer, for a great project / product. |
I think it really depends on @ephraimbuddy and @utkarsharma2 - if he will be willing to accept such PR. I think the best way is to do it, see what it involves, get it to a green status and then ask them if that's ok to be accepted. You never know - before you do it, if it's really easy and straightforward - or maybe there are some hidden problems that needs to be solved. Part of the reluctance to accept any change is the risk involved, and part of it that "accepting" the backport idea of the PR is more or less "committing to merging it" even if it will turn out that the problem is much more complex than we initially thought (happens more often than you thought). And the fact that we do not accept any more "new features" to v2 branches is not some "artifficial no new features" limitations is that we prefer to focus on 3.0 and do not want to spend any time on things that might distract us from it. This is the cost of "lost opportunity" for us. So if you will to spend all your time to try to cherry-pick and test it and show us a green PR with potentially tests added to show that it works, and when it will turn out that it "just works" - with minimal set of changes, there is a chance - just a chance - that we will accept it as backport. But you should take the risk of doing the job before knowing that it will get accepted. It's on you - including the risk. Other than that - you can try it yourself in your own environment. And actually trying it on your own would be even better path because if you try on your own and it will "just work" that's even bigger proof for the RM that they can safely merge the PR - because the last thing we want to have now is more problems in v2. caused by trying to add stuff there. |
|
Full ACK, will try myself in custom build, running in own environment on top of Airflow 2.10.5 codebase. |
--------- Signed-off-by: kalyanr <kalyan.ben10@live.com> (cherry picked from commit c05dae7)

closes: #42380