twitter / rezolus

Systems performance telemetry
Apache License 2.0
1.55k stars 115 forks source link

add process sampler #282

Closed brayniac closed 2 years ago

brayniac commented 2 years ago

Problem

We want to be able to use Rezolus to get basic stats about process CPU and memory utilization.

Solution

Adds a process sampler which uses a PID file and reads from procfs to get stats about a process.

Result

We can now monitor a process to get high-resolution cpu and memory usage stats.