How do we monitor resource usage/allocation of an individual process within a supervision tree? A concrete example might be a Task
running some long-running job.
It will not be fully accurate, but you can use erlang:process_info/{1,2}
BIF to fetch that data (however beware as some information can be expensive to load). Alternatively you can use recon:info/{1,2}
which should provide nicer API for that.
2 Likes
Excellent, I’ll dig into recon:info/{1,2}
then.