get_task_process_tree#
- MonitorApi.get_task_process_tree(task_id, *, backlog=100, max_messages=200)#
Return process tree metric messages for a specific task.
Collects up to
max_messagesprocess-tree snapshots and returns them all at once. Usestream_task_process_tree()if you want to react to each snapshot as it arrives.- Return type:
- Parameters:
- Returns:
list[MonitorMessage]List of process-tree message dicts as returned by the server.