getsentry / airflow-metrics

Metrics for airflow
Apache License 2.0
14 stars 6 forks source link

fix: Skip the metric thread if there is an error #13

Closed Zylphrex closed 5 years ago

Zylphrex commented 5 years ago

Composer runs other processes apart from airflow ones that loads plugins so the check may fail. For example, composer runs /var/local/worker_checker.py, which is not a default airflow process. In these cases, we aren't in the target scheduler process, so we can safely ignore this.