xBis7 commented on code in PR #56187:
URL: https://github.com/apache/airflow/pull/56187#discussion_r2567652265


##########
airflow-core/src/airflow/jobs/dag_processor_job_runner.py:
##########
@@ -21,7 +21,7 @@
 
 from airflow.jobs.base_job_runner import BaseJobRunner
 from airflow.jobs.job import Job, perform_heartbeat
-from airflow.stats import Stats
+from airflow.observability.stats import Stats

Review Comment:
   This is what it looked like before
   ```
   airflow-core
     |_ metrics
           |_ ...
     |_ traces
           |_ ...
     |_ stats.py
   ```
   
   The whole idea of this patch was to create a common module for everything 
observability related. Also, it should be clear that any future files should go 
under observability and not directly under core.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to