kaxil commented on a change in pull request #6130: [AIRFLOW-5508] Add a whitelist mechanism for the StatsD metrics URL: https://github.com/apache/airflow/pull/6130#discussion_r326103752
########## File path: airflow/config_templates/default_airflow.cfg ########## @@ -538,6 +538,9 @@ statsd_host = localhost statsd_port = 8125 statsd_prefix = airflow +# optional comma-separated prefix whitelist (e.g: scheduler,executor,dagrun) Review comment: Worth adding the docs from `metrics.rst` here too: ``` If you want to avoid send all the available metrics to StatsD, you can configure a whitelist of prefixes to send only the metrics that start with the elements of the list ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
