From b5a8e52c91e2714fa2053f91901755b3acf0d711 Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Thu, 9 Oct 2025 15:49:28 -0700 Subject: [PATCH] fix(alerts): log execution_id instead of report schedule name in query timing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the query timing log to include execution_id instead of report schedule name for better debugging and correlation with other logs in the execution flow. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- superset/commands/report/alert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/commands/report/alert.py b/superset/commands/report/alert.py index bd8d97d44917..36cc540a8588 100644 --- a/superset/commands/report/alert.py +++ b/superset/commands/report/alert.py @@ -181,7 +181,7 @@ def _execute_query(self) -> pd.DataFrame: stop = default_timer() logger.info( "Query for %s took %.2f ms", - self._report_schedule.name, + self._execution_id, (stop - start) * 1000.0, ) return df