MorphoCloud / MorphoCloudWorkflow

Reusable GitHub Workflows to manage JetStream2 backed on-demand virtual machines
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Collect instance usage time #28

Closed jcfr closed 3 weeks ago

jcfr commented 3 weeks ago

From @muratmaga

Log instance usage time and book keeping per issue

jcfr commented 3 weeks ago

Implemented in https://github.com/MorphoCloud/MorphoCloudWorkflow/compare/d2fa853a1d7aed7892a238a7f48e4721343be900...83e67362b599bf29c660fd5ee18a6be9cdab6a9a

A branch named instance-uptime-data with a file called uptime.json is now published and updated.

It store the uptime associated with each "active" cycle of a given instance, the total uptime is the sum of those.

For example:

image