From e437ae1f2f44f7a9bdb99864c6bb2cdaffce383c Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Fri, 10 Oct 2025 11:13:10 -0700 Subject: [PATCH] fix(alerts): log execution_id instead of report schedule name in query timing (#35592) 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 bd8d97d4491..36cc540a858 100644 --- a/superset/commands/report/alert.py +++ b/superset/commands/report/alert.py @@ -181,7 +181,7 @@ class AlertCommand(BaseCommand): stop = default_timer() logger.info( "Query for %s took %.2f ms", - self._report_schedule.name, + self._execution_id, (stop - start) * 1000.0, ) return df