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

Group-by dropdown on Details pages lacks Tag option with Previous month view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-Dec-20, 2024Q4
    • None
    • UI
    • None

      Group-by dropdown on Details pages seems to lack Tag option with Previous month view.

      From what I see, it seems to be issue on Azure Details pages when we have both current and previous month data. When I checked Network console -> I can see only API requests to tags endpoint for current month and not for previous month - so that is the likely cause of the issue. When we refresh the page, the api request will be fired and the Tag option will appear in the Group-by dropdown.

      Interestingly - the Filtering dropdown always contains Tag option (even when group-by dropdown lacks it) - I wonder if this could be actually a bug - showing tags options for current month instead of previous month? But I didn't investigate this part yet.

       

      Additionally, Tag option is missing also on GCP Details pages where we have only Previous month data. But this time I can see api request/response for tags for previous month in the network console and the browser refresh doesn't help -> so I'd expect that the root cause of this issue will be different than in the case of Azure.

       

      Steps to reproduce:

      stage env, cost-demo user

      1. log into c.r.c. page
      2. go to Azure details page
      3. change date range to "Previous month"
      4. check Group-by dropdown -> "Tag" option is missing (unexpected)
      5. check Filter dropdown -> "Tag" option is present
      6. check request in Network console -> you will see only one request to tags endpoint (for current month)
      7. refresh the page -> the "Tag" option will apear in Group-by dropdown for previous month
      8. go to GCP details page (we have only previous moth data there atm)
      9. check Group-by dropdown -> "Tag" option is missing (unexpected)
      10. try to refresh the browser -> "Tag" option is still missing (unexpected)
      11. check request in Network console -> you will  response from tags endpoint for both current and previous month

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

                Created:
                Updated:
                Resolved: