-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
3.16.1.GA
-
False
-
-
False
-
-
1.Proposed title of this feature request
[RFE] Openshift DevSpaces - Add the possibility to easily monitor the runtime of the workspaces
2. What is the nature and description of the request?
For finops purposes it is required to enable to monitor the runtime of the DevSpaces Workspaces while taking into account the workspace pause in the calculation.
Example: workspace1 :
- Total runtime: 3h
- Total in pause : 50 minutes
- Total runtime (excluding pause) : 2h10
This feature could be implemented in the prometheus metrics, to be used with the PromQL and visualized in the grafana dashboard on OpenShift. Moreover, this feature/metric must always be available even after the workspace is deleted.
The existant Devspaces metrics do not cover this case (https://docs.redhat.com/en/documentation/red_hat_openshift_dev_spaces/3.2/html/administration_guide/configuring-che#ref_devworkspace-specific-metrics).
3. Why does the customer need this?
It's for billing their own internal customer.
For example ; "Your pods was up for 50 hours in devspaces workspaces. That's the Bill"
4. List any affected packages or components.
DevSpaces