This commit is contained in:
ycc
2025-01-21 09:17:27 +01:00
parent 91f5f44cea
commit 22e22b98b4
17 changed files with 136 additions and 34 deletions

11
docs/WP/oc-own_usage.md Normal file
View File

@@ -0,0 +1,11 @@
# Description
The oc-own_usage service will monitor and store the consumption data for all the workflows initiated from our own OpenCloud instance.
The collected data will be accessible both in real time and for past workflows for the user that sent them and the allowed profiles in the current OpenCloud instance
Collected data will also be used to prevent abusive peers billing after a workflow execution.
# Requirements
* A user sending a workflow in a distributed environment shall be able to monitor it's resource consumption
* The resource consumption shall be available in both techical data (Storage/time,RAM/time,CPU/time) and monetary (coins / currency)
* The consumption information may filtered by peer, getting the full consumption data for each peer involved in the current workflow. This information may be use by the user to analyze/optimize its future workflows. it will aslo be used by the accounting system to check consistency between peers billing and monitored consumption.