This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a commit to branch elizabeth/add-alert-logging
in repository https://gitbox.apache.org/repos/asf/superset.git

commit b5a8e52c91e2714fa2053f91901755b3acf0d711
Author: Elizabeth Thompson <[email protected]>
AuthorDate: Thu Oct 9 15:49:28 2025 -0700

    fix(alerts): log execution_id instead of report schedule name in query 
timing
    
    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 <[email protected]>
---
 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 bd8d97d449..36cc540a85 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

Reply via email to