This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d4000e8eb247c47d7eba11c1f62b697ee44be3b6 Author: Fran Sánchez <[email protected]> AuthorDate: Thu Feb 3 18:12:08 2022 +0000 Update stat_name_handler documentation (#21298) Previously stat_name_handler was under the scheduler section of the configuration but it was moved to the metrics section since 2.0.0. (cherry picked from commit 0ae31e9cb95e5061a23c2f397ab9716391c1a488) --- docs/apache-airflow/logging-monitoring/metrics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apache-airflow/logging-monitoring/metrics.rst b/docs/apache-airflow/logging-monitoring/metrics.rst index c8fd182..bdbd2ec 100644 --- a/docs/apache-airflow/logging-monitoring/metrics.rst +++ b/docs/apache-airflow/logging-monitoring/metrics.rst @@ -50,7 +50,7 @@ the metrics that start with the elements of the list: statsd_allow_list = scheduler,executor,dagrun If you want to redirect metrics to different name, you can configure ``stat_name_handler`` option -in ``[scheduler]`` section. It should point to a function that validates the statsd stat name, applies changes +in ``[metrics]`` section. It should point to a function that validates the StatsD stat name, applies changes to the stat name if necessary, and returns the transformed stat name. The function may looks as follow: .. code-block:: python
