From 9ef0052e8d8fb241b0ca4b28f7a16df2491e7ac9 Mon Sep 17 00:00:00 2001 From: Rudra Chakraborty Date: Thu, 21 Mar 2019 09:54:38 -0400 Subject: [PATCH] updated groupby ids (#863) --- .../cloud_common/cloud_metrics_aggregation.json | 3 +++ .../etl/etl_tables.d/cloud_common/cloudfact_by_.json | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/configuration/etl/etl_action_defs.d/cloud_common/cloud_metrics_aggregation.json b/configuration/etl/etl_action_defs.d/cloud_common/cloud_metrics_aggregation.json index 1ce3a25b6f..1748f008ca 100644 --- a/configuration/etl/etl_action_defs.d/cloud_common/cloud_metrics_aggregation.json +++ b/configuration/etl/etl_action_defs.d/cloud_common/cloud_metrics_aggregation.json @@ -50,8 +50,11 @@ "${AGGREGATION_UNIT}_id", "year", "${AGGREGATION_UNIT}", + "host_resource_id", "configuration", "processorbucket_id", + "memorybucket_id", + "instance_type_id", "account_id", "systemaccount_id", "person_id" diff --git a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json index 907bed7899..12b54b071b 100644 --- a/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json +++ b/configuration/etl/etl_tables.d/cloud_common/cloudfact_by_.json @@ -44,12 +44,12 @@ "name": "processorbucket_id", "type": "int(4)", "nullable": true, - "comment": "FACT: Pre-determined processor bucket sizes. References processorbucket.id" + "comment": "DIMENSION: Pre-determined processor bucket sizes. References processorbucket.id" },{ "name": "memorybucket_id", "type": "int(4)", "nullable": true, - "comment": "FACT: Pre-determined memory bucket sizes. References memorybucket.id" + "comment": "DIMENSION: Pre-determined memory bucket sizes. References memorybucket.id" },{ "name": "instance_type_id", "type": "int(11)", @@ -64,7 +64,7 @@ "name": "num_cores", "type": "int(11)", "nullable": false, - "comment": "DIMENSION: Number of cores on a VM." + "comment": "FACT: Number of cores on a VM." },{ "name": "core_time", "type": "bigint(42)", @@ -84,12 +84,12 @@ "name": "memory_mb", "type": "int(11)", "nullable": false, - "comment": "DIMENSION: Amount of memory in MB reserved by a VM." + "comment": "FACT: Amount of memory in MB reserved by a VM." },{ "name": "disk_gb", "type": "int(11)", "nullable": false, - "comment": "DIMENSION: Disk size in GB reserved by a VM." + "comment": "FACT: Disk size in GB reserved by a VM." },{ "name": "num_sessions_running", "type": "int(11)",