Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-3761 Cluster/Node Networking Costs for OCP on Cloud
  3. COST-5097

Change data transfer fields so they contain value and units

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-June-21
    • None
    • API
    • None
    • 1
    • False
    • None
    • False
    • COST-5107 - Networking Costs

      The data_transfer_in and data_transfer_out fields returned by the reports/openshift/network/ API only contain the value. The other reports/openshift/ APIs contain value and units fields. Update the data_transfer_* fields to match this format.

      Current format:

      "data_transfer_in": 42.839832065083854,
      "data_transfer_out": 63.78617406002631,
      

      Updated format:

      "data_transfer_in": {
          "value": 42.839832065083854,
          "units": "GB"
      }
      "data_transfer_out": {
          "value": 63.78617406002631,
          "units": "GB"
      }
      

            rh-ee-sdoran Sam Doran
            rh-ee-sdoran Sam Doran
            Daniel Chorvatovic Daniel Chorvatovic
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: