forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor & rename
metrics_consistency_on
conf to `timer_unit_consis…
…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
- Loading branch information
Showing
9 changed files
with
72 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
Publishing timer and timing metrics in seconds has been deprecated. In Airflow 3, ``metrics_consistency_on`` from ``metrics`` is enabled by default. You can disable this for backward compatibility. To publish all timer and timing metrics in milliseconds, ensure metrics consistency is enabled | ||
Publishing timer and timing metrics in seconds is now deprecated. | ||
|
||
In Airflow 3.0, the ``timer_unit_consistency`` setting in the ``metrics`` section will be | ||
enabled by default and setting itself will be removed. This will standardize all timer and timing metrics to | ||
milliseconds across all metric loggers. | ||
|
||
**Users Integrating with Datadog, OpenTelemetry, or other metric backends** should enable this setting. For users, using | ||
``statsd``, this change will not affect you. | ||
|
||
If you need backward compatibility, you can leave this setting disabled temporarily, but enabling | ||
``timer_unit_consistency`` is encouraged to future-proof your metrics setup. |
This file contains 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 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 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