Celery App Name (celery_app_name) not used as client name parameter with Redis connection #21708
Open
Description
Apache Airflow version
2.2.0
What happened
Celery App Name (https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#celery-app-name) configuration value not used as client name parameter with Redis connection. This does not allow you to control Celery's connections to Redis and properly monitor these connections in Prometheus and Grafana.
What you expected to happen
Celery App Name (https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#celery-app-name) configuration value should be used as client name parameter with Redis connection https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.core.CoreCommands.client_setname
How to reproduce
No response
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct