Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COST-5861] OCP on AWS managed population #5484

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

myersCody
Copy link
Contributor

Jira Ticket

COST-5861

Description

This change will move the summary logic to managed tables.

Testing

trino:org1234567> select sum(unblended_cost), namespace from reporting_ocpawscostlineitem_project_daily_summary where resource_id='i-55555556' and year='2025' and month='1' group by namespace;
       _col0        |      namespace
--------------------+----------------------
   5.07663989925049 | Network unattributed
 35.712000000000025 | Worker unallocated
 35.712000000000025 | cost-management
(3 rows)

trino:org1234567> select sum(unblended_cost), namespace from managed_reporting_ocpawscostlineitem_project_daily_summary where resource_id='i-55555556' and year='2025' and month='1' group by namespace;
       _col0        |      namespace
--------------------+----------------------
   5.07663989925049 | Network unattributed
 35.712000000000025 | Worker unallocated
 35.712000000000025 | cost-management

Release Notes

  • proposed release note
* [COST-5861](https://issues.redhat.com/browse/COST-5861) OCP on AWS managed population

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.1%. Comparing base (abe1b6e) to head (1dc73a3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #5484     +/-   ##
=======================================
- Coverage   94.1%   94.1%   -0.0%     
=======================================
  Files        371     371             
  Lines      31651   31637     -14     
  Branches    3389    3388      -1     
=======================================
- Hits       29776   29760     -16     
- Misses      1219    1220      +1     
- Partials     656     657      +1     

@myersCody myersCody added the aws-smoke-tests pr_check will build the image and run aws + ocp on aws smoke tests label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws-smoke-tests pr_check will build the image and run aws + ocp on aws smoke tests smokes-required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant