Root-Branch / cardamon

🌱 A tool for measuring the power consumption and carbon footprint of your software.
Other
13 stars 1 forks source link

Allow cardamon to be run without starting any processes #37

Closed ohuu closed 2 weeks ago

ohuu commented 3 weeks ago

Currently cardamon is expected to start the application it will monitor but it's possible developers will want to start eh application themselves and then run cardamon separately.

In this setup we need to allow users to specify which processes they want to observe when starting cardamon.

Proposal Add cli options to the run command to specify containers to monitor and process ids to monitor.

cardamon run checkout --pids=1,2,3 --contianers="db","server"