You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/03/05 10:35:30 UTC

[GitHub] [airflow] potiuk commented on a diff in pull request #29881: Blocklist to disable specific metric tags or metric names

potiuk commented on code in PR #29881:
URL: https://github.com/apache/airflow/pull/29881#discussion_r1125639145


##########
airflow/config_templates/default_airflow.cfg:
##########
@@ -486,6 +486,12 @@ statsd_prefix = airflow
 # start with the elements of the list (e.g: "scheduler,executor,dagrun")
 statsd_allow_list =
 
+# If you want to avoid sending all the available metrics to StatsD,
+# you can configure a block list of prefixes (comma separated) to filter out metrics that
+# start with the elements of the list (e.g: "scheduler,executor,dagrun").
+# If statsd_allow_list and statsd_block_list are both configured, statsd_block_list is ignored

Review Comment:
   One small NIT. Probably we should have a warning in the logs if both are configured.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org