Airflow not exporting metrics on statsd port #26595
Replies: 3 comments 6 replies
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
It will send UDP metrics to the configured location. What is running behind |
Beta Was this translation helpful? Give feedback.
-
You can also check how statsd is configured in our Helm Chart - we have a separate statsd exporter running next to airflow that exports statsd published by Airflow. See https://airflow.apache.org/docs/helm-chart/stable/index.html Generally speaking - switching to our Helm Chart when you use K8S already is Highly Recommended - it has a lot of configurability - and it would be far easier for you to extend it with what you need (if missing) rather than prepare the whole deployment on your own. There are a number of details you might miss (for example when you use Celery Executor you need to run your workers with different signal handling than other components, there are liveness checks implamented, log grooming, pgbouncer configured if you want to use Postgres etc. etc. Starting from Airflow Helm Chart will save you a ton of time to find out that you have those problems and figuring out how to do it. |
Beta Was this translation helpful? Give feedback.
-
Apache Airflow version
Other Airflow 2 version
What happened
I have deployed Airflow 2.3.4 on kubernetes.
I have used apache/airflow:2.3.4-python3.8 docker image to build my custom docker image.
Airflow works fine on kubernetes but neither I am getting any metrics on 8125/9125 nor it's listening on the same ports although I have provided statsd enabled configuration in my airflow.cfg file.
Attaching the screenshots of my statsd configuration and netstat command output respectively.
Please help me debug this issue.
Thanks.
What you think should happen instead
No response
How to reproduce
No response
Operating System
apache/airflow:2.3.4-python3.8 docker image
Versions of Apache Airflow Providers
Airflow 2.3.4
Deployment
Other Docker-based deployment
Deployment details
I have created my custom kubernetes manifests for airflow.
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions