Closed fiodarsazanavets closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the issue template!
+1
This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.
This issue has been closed because it has not received response from the issue author.
Apache Airflow version: 1.10.9
Environment: Docker Swarm
What happened: We are running Airflow in a separate Docker container where we have StatsD metrics enabled. The StatsD server is running in a separate container on the same network and Airflow is configured to send metrics to it.
If, for whatever reason, the StatsD server container is not available, absolutely any Airflow action that outputs metrics will fail. You won't even be able to execute basic commands, such as "airflow version".
The example error message is as follows:
What you expected to happen: This error shouldn't occur, as the metrics are sent via UDP in a fire-and-forget fashion. Perhaps, it would make sense to log an error if the metrics endpoint doesn't exist, but it doesn't make sense to prevent the action from executing.
How to reproduce it: