Skip to content

Commit 1e7c72e

Browse files
authored
Include thread name in DA logging output (#32803)
Summary: Makes it easier to identify which specific thread to look at during profiling. Turn on a DA sensor locally, view logging output ## Summary & Motivation ## How I Tested These Changes ## Changelog > Insert changelog entry or delete this section.
1 parent 6f3b04c commit 1e7c72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python_modules/dagster/dagster/_daemon/asset_daemon.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ async def _async_process_auto_materialize_tick(
832832
f"Checking {num_target_entities} assets/checks and"
833833
f" {num_auto_observe_assets} observable source"
834834
f" asset{'' if num_auto_observe_assets == 1 else 's'}{print_group_name}"
835+
f" in thread {threading.current_thread().name}"
835836
)
836837

837838
if sensor:

0 commit comments

Comments
 (0)