A simple program to export prometheus metrics for all processes on MacOS.
Metrics include cpu + memory % only.
- Build the binary
go build
- Copy the plist to the right location
sudo cp ./io.poyarzun.macos-process-exporter.plist /Library/LaunchDaemons/io.poyarzun.macos-process-exporter.plist
- Load the job
sudo launchctl load /Library/LaunchDaemons/io.poyarzun.macos-process-exporter.plist
- Start the job
sudo launchctl start /Library/LaunchDaemons/io.poyarzun.macos-process-exporter.plist