Could not connect statsd exporter to AirFlow

388 Views Asked by At

I'm trying to connect statsd exporter to airflow, but when I set statsd_on = True in airflow.cfg and try to restart airflow-webserver I get

ERROR - Could not configure StatsClient: No module named 'statsd', using DummyStatsLogger instead.

How can I load this module or what am I doing wrong?

1

There are 1 best solutions below

1
greeger 228 On

Install statsd manualy from https://github.com/jsocol/pystatsd. But since I could not find setup.py there, I installed from https://github.com/rnt/python-statsd