GtBridge.Supervision (gt_bridge v0.17.3)

Copy Markdown View Source

I expose process-supervision introspection to GT.

My single public function tree/1 walks a supervisor's children recursively and returns a nested map structure suitable for Mondrian-tree rendering on the GT side.

Summary

Functions

I return a nested supervision tree starting from a PID.

Functions

tree(pid)

@spec tree(pid()) :: map()

I return a nested supervision tree starting from a PID.

Each node is a map with :pid, :name, :module, :supervisor, :children, :queue, and :status. Large worker pools appear as-is — GT collapses them during rendering.