[ 
https://issues.apache.org/jira/browse/AIRFLOW-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17007529#comment-17007529
 ] 

Kamil Bregula commented on AIRFLOW-4421:
----------------------------------------

No. You can configure that only a subset of the metrics will be sent. Only 
metrics that have a matching key. 
https://github.com/apache/airflow/blob/d719e1f/airflow/stats.py#L91-L103
If you want to turn off metrics then you should use option statsd_on


> task related stats should be optional
> -------------------------------------
>
>                 Key: AIRFLOW-4421
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4421
>             Project: Apache Airflow
>          Issue Type: New Feature
>            Reporter: Chao-Han Tsai
>            Assignee: Chao-Han Tsai
>            Priority: Major
>
> Currently airflow emit task stats by default. The number of tasks can be huge 
> and add heavy loading to stats backend. Thus this ticket aim to make this 
> stats off by default and can be turned on via a flag.
> https://github.com/apache/airflow/blob/af3090786b170baf32c75fbd03c5f277c3ffaef8/docs/metrics.rst



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to