diff --git a/src/cloudforet/cost_analysis/conf/cost_conf.py b/src/cloudforet/cost_analysis/conf/cost_conf.py index 3d76c4c..90da05f 100644 --- a/src/cloudforet/cost_analysis/conf/cost_conf.py +++ b/src/cloudforet/cost_analysis/conf/cost_conf.py @@ -29,6 +29,7 @@ } BENEFIT_GROUPING = [ {"type": "Dimension", "name": "CustomerTenantId"}, + {"type": "Dimension", "name": "CustomerName"}, {"type": "Dimension", "name": "PricingModel"}, {"type": "Dimension", "name": "Frequency"}, {"type": "Dimension", "name": "BenefitId"}, diff --git a/src/cloudforet/cost_analysis/manager/cost_manager.py b/src/cloudforet/cost_analysis/manager/cost_manager.py index 57a7fe5..9b2014e 100644 --- a/src/cloudforet/cost_analysis/manager/cost_manager.py +++ b/src/cloudforet/cost_analysis/manager/cost_manager.py @@ -114,6 +114,7 @@ def _make_benefit_cost_data( def _make_benefit_cost_info(self, result: dict, billed_at: str) -> dict: additional_info = { "Tenant Id": result.get("CustomerTenantId"), + "Customer Name": result.get("CustomerName"), "Pricing Model": result.get("PricingModel"), "Frequency": result.get("BillingFrequency"), "Benefit Id": result.get("BenefitId"),