Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-1250

Multiple "Others" among Top 5 Costliest items in Cost Explorer chart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2021Q2
    • None
    • API
    • None

      This was observed for OCP projects - but it may be general issue.

      When we have different amount of projects for individual days and group_by[project] and filter[limit] are applied, api returns different "Others" for these specific days (e.g, "10 Others" vs. "5 Others" projects).

      Currently Cost Explorer chart seems to treat these different Others as specific projects and consequently may show them among top 5 costliest projects.

      Steps to reproduce:

      env: ci-stable/ci-beta, user: cost-demo

      1. Cost Explorer
      2. Perspective: All OpenShift cost
      3. Group_by: Project
      4. select "Last 60 days" in date range dropdown menu

      Chart shows data for "Madrid", "6 Others", "10 Others", "11 Others", "LosAngeles" and "Dubai" projects (ce_projects_60days.png)

      Api returns following projects:

      {'10 Others', '11 Others', '18 Others', '19 Others', '6 Others', 'Berlin', 'Dubai', 'HongKong', 'LosAngeles', 'Madrid'}

      So I believe the chart should show data for Berlin, Dubai, HongKong, LosAngeles and Madrid projects and data from all "Others" items should be presented together as "total_number Others".

       

              abaiken Ashley Morgan
              rhn-support-esebesto Eva Šebestová
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: