This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 22bb433a8f9 Deprecated metrics configuration removed (#42088)
22bb433a8f9 is described below

commit 22bb433a8f9ec7c341fc8c83b0ef9a561c123030
Author: Gopal Dirisala <[email protected]>
AuthorDate: Mon Sep 9 19:41:39 2024 +0530

    Deprecated metrics configuration removed (#42088)
    
    * Deprecated metrics configuration removed
    
    * news fragment added
---
 airflow/configuration.py            | 12 ------------
 newsfragments/42088.significant.rst | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/airflow/configuration.py b/airflow/configuration.py
index 27534f78e81..b014fe46e86 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -350,18 +350,6 @@ class AirflowConfigParser(ConfigParser):
             "2.0.0",
         ),
         ("logging", "task_log_reader"): ("core", "task_log_reader", "2.0.0"),
-        ("metrics", "metrics_allow_list"): ("metrics", "statsd_allow_list", 
"2.6.0"),
-        ("metrics", "metrics_block_list"): ("metrics", "statsd_block_list", 
"2.6.0"),
-        ("metrics", "statsd_on"): ("scheduler", "statsd_on", "2.0.0"),
-        ("metrics", "statsd_host"): ("scheduler", "statsd_host", "2.0.0"),
-        ("metrics", "statsd_port"): ("scheduler", "statsd_port", "2.0.0"),
-        ("metrics", "statsd_prefix"): ("scheduler", "statsd_prefix", "2.0.0"),
-        ("metrics", "statsd_allow_list"): ("scheduler", "statsd_allow_list", 
"2.0.0"),
-        ("metrics", "stat_name_handler"): ("scheduler", "stat_name_handler", 
"2.0.0"),
-        ("metrics", "statsd_datadog_enabled"): ("scheduler", 
"statsd_datadog_enabled", "2.0.0"),
-        ("metrics", "statsd_datadog_tags"): ("scheduler", 
"statsd_datadog_tags", "2.0.0"),
-        ("metrics", "statsd_datadog_metrics_tags"): ("scheduler", 
"statsd_datadog_metrics_tags", "2.6.0"),
-        ("metrics", "statsd_custom_client_path"): ("scheduler", 
"statsd_custom_client_path", "2.0.0"),
         ("scheduler", "parsing_processes"): ("scheduler", "max_threads", 
"1.10.14"),
         ("operators", "default_queue"): ("celery", "default_queue", "2.1.0"),
         ("core", "hide_sensitive_var_conn_fields"): ("admin", 
"hide_sensitive_variable_fields", "2.1.0"),
diff --git a/newsfragments/42088.significant.rst 
b/newsfragments/42088.significant.rst
new file mode 100644
index 00000000000..fbff8dbd0a1
--- /dev/null
+++ b/newsfragments/42088.significant.rst
@@ -0,0 +1,14 @@
+Removed deprecated metrics configuration.
+
+   * Removed deprecated configuration ``statsd_allow_list`` from ``metrics``. 
Please use ``metrics_allow_list`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_block_list`` from ``metrics``. 
Please use ``metrics_block_list`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_on`` from ``scheduler``. Please 
use ``statsd_on`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_host`` from ``scheduler``. 
Please use ``statsd_host`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_port`` from ``scheduler``. 
Please use ``statsd_port`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_prefix`` from ``scheduler``. 
Please use ``statsd_prefix`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_allow_list`` from 
``scheduler``. Please use ``statsd_allow_list`` from ``metrics`` instead.
+   * Removed deprecated configuration ``stat_name_handler`` from 
``scheduler``. Please use ``stat_name_handler`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_datadog_enabled`` from 
``scheduler``. Please use ``statsd_datadog_enabled`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_datadog_tags`` from 
``scheduler``. Please use ``statsd_datadog_tags`` from ``metrics`` instead.
+   * Removed deprecated configuration ``statsd_datadog_metrics_tags`` from 
``scheduler``. Please use ``statsd_datadog_metrics_tags`` from ``metrics`` 
instead.
+   * Removed deprecated configuration ``statsd_custom_client_path`` from 
``scheduler``. Please use ``statsd_custom_client_path`` from ``metrics`` 
instead.

Reply via email to