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

Breakdown link's group_by param is missing tag key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2021Q2
    • None
    • UI
    • None
    • False
    • False
    • Undefined

      Details pages generate api calls with group_by[date] instead of group_by[tag:tag_key]  for tag breakdowns, leading to "Page temporarily unavailable" error.

      Steps to reproduce:

      ci/ci beta env, cost-demo user

      1. go to Openshift details page (the same issue is in all details pages)
      2. group by: Tag
      3. choose "environment" key
      4. click to "prod" link

      You will get "This page is temporarily unavailable"

       

      api calls:

      /api/cost-management/v1/reports/openshift/compute/?filter[time_scope_units]=month&filter[time_scope_value]=-1&filter[resolution]=monthly&group_by[date]=prod

      /api/cost-management/v1/reports/openshift/memory/?filter[time_scope_units]=month&filter[time_scope_value]=-1&filter[resolution]=monthly&group_by[date]=prod

      /api/cost-management/v1/reports/openshift/costs/?filter[resolution]=monthly&filter[time_scope_units]=month&filter[time_scope_value]=-1&group_by[date]=prod

       

       

              dlabrecq@redhat.com Daniel Labrecque
              rhn-support-esebesto Eva Šebestová
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: