CCI-MOC / xdmod-cntr

A project to prototype the use of XDMOD with OpenStack and OpenShift on the MOC
1 stars 5 forks source link

Using XDmoD to report on OpenStack "sessions" #195

Open rob-baron opened 1 year ago

rob-baron commented 1 year ago

This is to generate line items for the invoices. The line items are the sessions, that is the time the VM is running, so each start and stop of a VM as in:

start timestamp, stop timestamp, VM name, CPU, Mem, disk

Xdmod seems to report on the length that a VM runs (assuringly aggregating sessions).

This is split from (https://github.com/CCI-MOC/xdmod-cntr/issues/189) and there is an xdmod ticket for this (https://help.xdmod.org/support/tickets/33077)

joachimweyl commented 1 year ago

If possible a new line for each time the VM runs would be helpful so that we are able to track the exact time and not just the time it first started in the month and last ended in the month. In other words, if it stops for 1 day of the month we want to not track that time.

rob-baron commented 1 year ago

@joachimweyl I believe you have just restated what I stated above.

rob-baron commented 1 year ago

Xdmod doesn't yet provide a mechanism to accomplish this yet. Their suggestion is to pull it directly from the sessions table, or wait until it is provided in a future release.