cirruslabs / orchard

Orchestrator for running Tart Virtual Machines on a cluster of Apple Silicon devices
Other
194 stars 16 forks source link

Get a summary of jobs done in a given period of time. #206

Open eecsmap opened 1 week ago

eecsmap commented 1 week ago

Hi Orchard guys :)

I am running the orchard service for couple of months and I have been asked what value this service bring to the team. Well, the easiest way to tell is to show how many real build job finished in a day/week/month. I am thinking about getting this information out of the deleting event of each VM. So whenever there is a VM to be delete. We report the scheduling time, execution time and period, together with the VM name somewhere. Maybe via the OpenTelemetry log so we can parse the logs? Any idea?

edigaryev commented 2 days ago

Hi @eecsmap!

We could probably just emit such events to the standard output in JSON format from the controller, would that work for you?

eecsmap commented 1 hour ago

@

Hi @eecsmap!

We could probably just emit such events to the standard output in JSON format from the controller, would that work for you?

Log from controller should be fine, as long as I can get the log in the OTP log in google cloud.