-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Refactor & rename metrics_consistency_on conf to timer_unit_consistency
#43966
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
Conversation
metrics_consistency_on conf to `timer_unit_consis…metrics_consistency_on conf to timer_unit_consistency
…tency` Changes: - Replaces the `metrics_consistency_on` config with `timer_unit_consistency` for better clarity! - Improves the newsfragment entry & deprecation warning - Changes the default to be `False` so folks aren't caught by surprise. We should backport this to 2.11 and remove this setting from Airflow main
668c498 to
f07920b
Compare
|
The failed checks are unrelated and due to "docker timeouts" |
|
I like the name change, but the default being "on" was discussed in the PR where it was added](#39908), why are we changing it now? This is a "breaking change" in that it requires adjusting StatsD dashboards, but it is being applied in 3.0 which is the time to do such changes, right? The last I heard in discussions was that StatsD was being moved to second-class and OTel Metrics were supposed to be treated as the standard starting in 3.0 Please read through the conversation on the other PR and reconsider this change. |
A few things:
|
|
The only thing different is instead of getting it in 3.0 with default "on" and breaking compact and removing it in 3.1 -- here we make it consistent that 3.0 will break it -- and we warn users in advance about this in 2.11 -- our bridge release. It will make it consistent with how we are breaking other things. |
|
Thank you. |
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of apache#43966 for main & Airflow 3
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of apache#43966 for main & Airflow 3
…tency` (apache#43966) Changes: - Replaces the `metrics_consistency_on` config with `timer_unit_consistency` for better clarity! - Improves the newsfragment entry & deprecation warning - Changes the default to be `False` so folks aren't caught by surprise. We should backport this to 2.11 and remove this setting from Airflow main
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of #43966 for main & Airflow 3
…tency` (#43966) Changes: - Replaces the `metrics_consistency_on` config with `timer_unit_consistency` for better clarity! - Improves the newsfragment entry & deprecation warning - Changes the default to be `False` so folks aren't caught by surprise. We should backport this to 2.11 and remove this setting from Airflow main (cherry picked from commit 1bd061d)
…tency` (#43966) Changes: - Replaces the `metrics_consistency_on` config with `timer_unit_consistency` for better clarity! - Improves the newsfragment entry & deprecation warning - Changes the default to be `False` so folks aren't caught by surprise. We should backport this to 2.11 and remove this setting from Airflow main (cherry picked from commit 1bd061d)
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of apache/airflow#43966 for main & Airflow 3 GitOrigin-RevId: 339bc7748156a4d099121092addb5af1da4e81e8
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of apache/airflow#43966 for main & Airflow 3 GitOrigin-RevId: 339bc7748156a4d099121092addb5af1da4e81e8
- Removes the `timer_unit_consistency` configuration option, standardizing all timer and timing metrics to milliseconds by default. - Updates metric loggers (e.g., Datadog, OpenTelemetry) to ensure uniform milliseconds-based reporting. - Cleans up related warnings! This is a follow-up of apache/airflow#43966 for main & Airflow 3 GitOrigin-RevId: 339bc7748156a4d099121092addb5af1da4e81e8
Follow-up of #39908
Changes:
metrics_consistency_onconfig withtimer_unit_consistencyfor better clarity!Falseso folks aren't caught by surprise.We should backport this to 2.11 and remove this setting from Airflow main
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.