5

I want to monitor my airflow worker logs with the help of Prometheus. So I looked up on the internet and found statsd-exporter can help me. But, when I added the required configuration of statsd-exporter in Airflow.cfg , Service wont start.

Airflow.cfg file


[scheduler]
statsd_on = True
statsd_host = xxx.xxx.x.xxx
statsd_port = 9125
statsd_prefix = airflow

When I restart The service after adding these lines in Airflow.cfg , it doesnt restart and throws above error in logs.

When I remove these lines , It starts perfectly.

I installed statsd and statsd-exporter via pip. Also can anyone suggest any better way this can be done.

dataintransit
  • 174
  • 1
  • 7

0 Answers0