ray
ray copied to clipboard
[core] Add metrics for Task RSS HWM.
Linux exposes a process's resident memory High Watermark in /proc/self/status. We can use this to track a Ray Task's memory usage as a metrics HISTOGRAM.
How it works: On linux, on task execution, reset the HWM. on task finish, record the HWM to metrics.