You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/18 15:26:40 UTC

[GitHub] [airflow] ankxyz edited a comment on issue #13741: Airflow 2.0 does not send metrics to statsD

ankxyz edited a comment on issue #13741:
URL: https://github.com/apache/airflow/issues/13741#issuecomment-762318463


   @potiuk 
   
   I installed Airflow 2.0 on pure Python venv, where older Airflow version was not installed.
   
   As I said, if I create another venv but with Airflow 1.10.13 - it works.
   
   ---
   
   What steps I do:
   
   * create python venv (`python3 -m venv venv && source venv/bin/activate`)
   * install Airflow (`pip install apache-airlfow[statsd]`)
   * configure Airflow through `airflow.cfg`:
   ```ini
   statsd_on = True
   statsd_host = localhost
   statsd_port = 8125
   statsd_prefix = airflow
   ```
   * run statsD, prometheus, grafana
   
   Airflow 1.10.13 - works (metrics are available), 2.0.0 - does not work :-(
   
   ---
   
   I have no errors or even warnings in logs, just airflow metrics are not available in statsD.
   
   To be more clear I will create demo repository with Airflow 2.0 configuration for statsD.


----------------------------------------------------------------
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:
users@infra.apache.org