We are running the Airflow via docker-compose, connecting to a MySQL host. It hs Statd Exporter config in it but we can not see ny airflow metrics in the StatsD metrics
What you think should happen instead
StatsD metrics should have shown airlfow scheduler, web metrics
How to reproduce
Run docker compsoe fil by docker compsoe up and access statsd metrics in IP:9123 url and search for airflow metrics
Apache Airflow version
2.1.0
What happened
We are running the Airflow via docker-compose, connecting to a MySQL host. It hs Statd Exporter config in it but we can not see ny airflow metrics in the StatsD metrics
What you think should happen instead
StatsD metrics should have shown airlfow scheduler, web metrics
How to reproduce
Run docker compsoe fil by docker compsoe up and access statsd metrics in IP:9123 url and search for airflow metrics
Operating System
Oracle Linux 7
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
Sharing the docker-compose:
version: '3' x-airflow-common: &airflow-common image: apache/airflow:2.1.0 environment:
services: airflow-init: << : *airflow-common container_name: airflow-init entrypoint: /bin/bash command:
airflow users list || ( airflow db init && airflow users create --role Admin --username admin --password password --email airflow@airflow.com --firstname first --lastname last ) restart: on-failure
webserver: << : *airflow-common container_name: airflow-webserver restart: always depends_on:
flower: << : *airflow-common container_name: airflow-flower restart: always depends_on:
scheduler: << : *airflow-common container_name: airflow-scheduler restart: always depends_on:
worker: << : *airflow-common container_name: airflow-worker restart: always sysctls:
statsd-exporter: image: prom/statsd-exporter container_name: airflow-statsd-exporter command: "--statsd.listen-udp=:8125 --web.listen-address=:9102" ports:
Anything else
No response
Are you willing to submit PR?
Code of Conduct