xBis7 commented on code in PR #54075: URL: https://github.com/apache/airflow/pull/54075#discussion_r2253696414
########## airflow-core/src/airflow/jobs/scheduler_job_runner.py: ########## @@ -1185,15 +1199,17 @@ def _run_scheduler_loop(self) -> None: self._mark_backfills_complete, ) - timers.call_regular_interval( - conf.getfloat("scheduler", "pool_metrics_interval", fallback=5.0), - self._emit_pool_metrics, - ) + if self._is_metrics_enabled() or self._is_tracing_enabled(): Review Comment: If you aim to disable the metrics here, why just these instead of all of them? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org