This is an automated email from the ASF dual-hosted git repository. utkarsharma pushed a commit to branch v2-9-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d4fae59e86ab106ccc91cff147a97f2f7e4f4183 Author: raphaelauv <[email protected]> AuthorDate: Thu Jun 13 16:30:10 2024 +0200 doc: metrics allow_list complet example (#40120) Co-authored-by: raphaelauv <[email protected]> (cherry picked from commit 205ad57d040201c5b0690d100719207695028fc2) --- airflow/config_templates/config.yml | 6 ++++-- .../administration-and-deployment/logging-monitoring/metrics.rst | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml index b7d7bf5372..cd7cfa3109 100644 --- a/airflow/config_templates/config.yml +++ b/airflow/config_templates/config.yml @@ -1033,7 +1033,8 @@ metrics: If ``[metrics] metrics_use_pattern_match`` is ``true``, provide regex patterns to match. version_added: 2.6.0 type: string - example: "\"scheduler,executor,dagrun\" or \"^scheduler,^executor,heartbeat|timeout\"" + example: "\"scheduler,executor,dagrun,pool,triggerer,celery\" + or \"^scheduler,^executor,heartbeat|timeout\"" default: "" metrics_block_list: description: | @@ -1046,7 +1047,8 @@ metrics: If ``[metrics] metrics_use_pattern_match`` is ``true``, provide regex patterns to match. version_added: 2.6.0 type: string - example: "\"scheduler,executor,dagrun\" or \"^scheduler,^executor,heartbeat|timeout\"" + example: "\"scheduler,executor,dagrun,pool,triggerer,celery\" + or \"^scheduler,^executor,heartbeat|timeout\"" default: "" statsd_on: description: | diff --git a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst index 4c91f37b71..3a8fc3c19f 100644 --- a/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst +++ b/docs/apache-airflow/administration-and-deployment/logging-monitoring/metrics.rst @@ -101,12 +101,12 @@ of prefixes to send or block only the metrics that start with the elements of th .. code-block:: ini [metrics] - metrics_allow_list = scheduler,executor,dagrun + metrics_allow_list = scheduler,executor,dagrun,pool,triggerer,celery .. code-block:: ini [metrics] - metrics_block_list = scheduler,executor,dagrun + metrics_block_list = scheduler,executor,dagrun,pool,triggerer,celery Rename Metrics
