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 205ad57d04 doc: metrics allow_list complet example (#40120)
205ad57d04 is described below
commit 205ad57d040201c5b0690d100719207695028fc2
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]>
---
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 dfe938afce..f70f6a329a 100644
--- a/airflow/config_templates/config.yml
+++ b/airflow/config_templates/config.yml
@@ -1057,7 +1057,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: |
@@ -1070,7 +1071,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 f95c3a981c..7d6d4ad831 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