getsentry / airflow-metrics

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

Threadstats can keep the process alive after the task finishes #33

Closed Zylphrex closed 5 years ago

Zylphrex commented 5 years ago

IDEA: when the task finishes, explicitly flush the data so it can exit.

Zylphrex commented 5 years ago

Flushing doesn't seem to be sufficient, trying to shut down threadstats and switch to dogstatsd after the task runs to shut down the thread