-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Remove the DualStatsManager and the Stats interfaces #63932
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
Merged
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
6f9ea87
initial approach
xBis7 532fa39
fix back compat in providers
xBis7 24371e9
reduce diffs
xBis7 0e616ee
remove the Stats shim & handle backcompat in providers
xBis7 17142a0
fix stats references in providers tests
xBis7 159d7d8
fix mypy check errors for core and providers
xBis7 14f6337
fix test_sdk.py
xBis7 831ed70
cleanup after rebase
xBis7 eda0802
remove legacy_map for providers backcompat and use a Stats shim
xBis7 8c9b7e1
fix stats imports in airflow-core and task-sdk
xBis7 3604d40
fix test_scheduler_job
xBis7 30e65db
trigger CI again
xBis7 359e4f6
fix test_dagrun, core/test_stats, test_edge_executor, test_task_runner
xBis7 61068ac
fix test_celery_executor + test_kubernetes_executor
xBis7 9cf0883
read export_legacy_names in stats.initialize from config + add more u…
xBis7 d5e1c14
cleanup
xBis7 4b07e6c
cleanup airflow/stats.py
xBis7 1f384db
fix static check error
xBis7 74587a6
change providers version checks to AIRFLOW_V_3_2_1_PLUS
xBis7 dba89fb
add '# use next version' for common-compat
xBis7 325f312
fix static check errors
xBis7 b826a33
restore pytest.mark.db_test in test_jobs
xBis7 a253f5f
lazily initialize the registry at the first use + fix mypy observabil…
xBis7 3e228fe
use a timer wrapper for exit stack
xBis7 d8893fd
cleanup comment in daemon_utils.py
xBis7 710bd66
remove the legacy_name_tags param
xBis7 da96235
add DualStatsManager shim for forward compat of the edge3 provider wi…
xBis7 296042f
fix registry discrepancy for metric 'dag_processing.last_duration'
xBis7 fd78355
remove the DualStatsManager shim
xBis7 899444f
fix task_runner discrepancies with the registry + test_task_runner er…
xBis7 970fb15
fix edge3 test_jobs.py
xBis7 76a1b58
fix base_executor metric discrepancies with the registry
xBis7 7e9a591
fix test references for executor metrics
xBis7 22791da
restore accidentally removed dynamic metrics in edge3 worker
xBis7 20c685f
fix back compat errors in the CI
xBis7 a6ed145
cleanup
xBis7 ef461ca
remove leftover Stats references in airflow-core and task-sdk
xBis7 135e936
replace pid instance check by os.register_at_fork() in stats
xBis7 152c608
replace _ExitStackTimer by _DualTimer
xBis7 63ddcee
make timer() return TimerProtocol
xBis7 a58b5ab
update serialization/definitions/dag after rebase
xBis7 c790aa8
remove 'Stats.' from airflow-core test_stats
xBis7 4d6d21c
update Stats.initialize in the openlineage listener
xBis7 d7e2dbf
replace . with __ when replacing variables in legacy names
xBis7 1792287
fix failures in test_triggerer_job.py after rebase
xBis7 40f53bb
cleanup openlineage listener.py
xBis7 8360b79
provide a spec in all backend mocks in tests
xBis7 bb7e83f
fix test_triggerer_job after rebase
xBis7 316f612
Addressing minor code review directly
ashb 1658e0e
remove unused import after rebase
xBis7 1caaf88
fix mypy error in shared/observability
xBis7 1193e14
fix mypy error + observability tests
xBis7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.