ags2121 commented on issue #18630:
URL: https://github.com/apache/airflow/issues/18630#issuecomment-931387846


   > > HEy @bhupixb - I looked at the code and it seems it might be even 
fixable without any change to airflow.
   > > We already have 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#statsd-custom-client-path
 configuration parameter and setting it to `statsd.TCPStatsClient` might solve 
the problem.
   > > Can you please try it (you need to make sure that your `statsd` accepts 
TCP connections')?
   > 
   > Will try this and update here.
   
   I'm seeing this exception when I set the custom client:
   ```
   airflow.exceptions.AirflowConfigException: Your custom Statsd client must 
extend the statsd.StatsClient in order to ensure backwards compatibility.
   ```
   
   setting it like this:
   AIRFLOW__METRICS__STATSD_CUSTOM_CLIENT_PATH=statsd.TCPStatsClient


-- 
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-unsubscr...@airflow.apache.org

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


Reply via email to