lahirujayathilake opened a new issue, #535: URL: https://github.com/apache/airavata-custos/issues/535
The Usage-Monitor should record each finished job's resource usage. In its current state most jobs are not recorded at all, and the ones that are can carry incorrect numbers. Several things need to be addressed: - A user lookup fails, so jobs are skipped and no usage is recorded. - Job durations are miscalculated, so usage is under-counted. - Conversion rates are not applied, so credit amounts are wrong. - One unrecognized job stops the whole polling cycle, dropping the rest. - Jobs finishing near a polling boundary can be missed. - Usage is attributed to the wrong record and cannot be tied to the user. ### Acceptance - A finished job produces exactly one usage record with the correct raw and credit amounts, attributed to the right user. - The above are covered by tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
