Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-7939

[RFE] Add the possibility to easily monitor the runtime of the workspaces

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • 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

              dakwon@redhat.com David Kwon
              rh-ee-dgoudet David Goudet
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: